Title: [262300] trunk/Source/WebCore
Revision
262300
Author
[email protected]
Date
2020-05-29 10:01:04 -0700 (Fri, 29 May 2020)

Log Message

Unreviewed build fix after r262299

We replaced ScriptExecutionContext* by Document& in WebXRSpace hierarchy, so the
failing ASSERT() was:
1. Invalid, there is no "context" parameter but "document"
2. Not needed anymore, as we're passing a reference

* Modules/webxr/WebXRSpace.cpp:
(WebCore::WebXRSpace::WebXRSpace): Removed invalid ASSERT().

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (262299 => 262300)


--- trunk/Source/WebCore/ChangeLog	2020-05-29 16:36:52 UTC (rev 262299)
+++ trunk/Source/WebCore/ChangeLog	2020-05-29 17:01:04 UTC (rev 262300)
@@ -1,3 +1,15 @@
+2020-05-29  Sergio Villar Senin  <[email protected]>
+
+        Unreviewed build fix after r262299
+
+        We replaced ScriptExecutionContext* by Document& in WebXRSpace hierarchy, so the
+        failing ASSERT() was:
+        1. Invalid, there is no "context" parameter but "document"
+        2. Not needed anymore, as we're passing a reference
+
+        * Modules/webxr/WebXRSpace.cpp:
+        (WebCore::WebXRSpace::WebXRSpace): Removed invalid ASSERT().
+
 2020-05-27  Sergio Villar Senin  <[email protected]>
 
         [WebXR] Implement XRSession::requestReferenceSpace()

Modified: trunk/Source/WebCore/Modules/webxr/WebXRSpace.cpp (262299 => 262300)


--- trunk/Source/WebCore/Modules/webxr/WebXRSpace.cpp	2020-05-29 16:36:52 UTC (rev 262299)
+++ trunk/Source/WebCore/Modules/webxr/WebXRSpace.cpp	2020-05-29 17:01:04 UTC (rev 262300)
@@ -40,7 +40,6 @@
     : ContextDestructionObserver(&document)
     , m_session(WTFMove(session))
 {
-    ASSERT(context);
 }
 
 WebXRSpace::~WebXRSpace() = default;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to