Title: [274704] trunk/Source/WebCore
Revision
274704
Author
simon.fra...@apple.com
Date
2021-03-18 22:30:06 -0700 (Thu, 18 Mar 2021)

Log Message

Attempt to fix the macOS build after r274695.

* platform/graphics/GraphicsContextGL.h:
* testing/WebFakeXRDevice.cpp:
* testing/WebFakeXRDevice.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (274703 => 274704)


--- trunk/Source/WebCore/ChangeLog	2021-03-19 04:57:59 UTC (rev 274703)
+++ trunk/Source/WebCore/ChangeLog	2021-03-19 05:30:06 UTC (rev 274704)
@@ -1 +1,9 @@
+2021-03-18  Simon Fraser  <simon.fra...@apple.com>
+
+        Attempt to fix the macOS build after r274695.
+
+        * platform/graphics/GraphicsContextGL.h:
+        * testing/WebFakeXRDevice.cpp:
+        * testing/WebFakeXRDevice.h:
+
 == Rolled over to ChangeLog-2021-03-18 ==

Modified: trunk/Source/WebCore/platform/graphics/GraphicsContextGL.h (274703 => 274704)


--- trunk/Source/WebCore/platform/graphics/GraphicsContextGL.h	2021-03-19 04:57:59 UTC (rev 274703)
+++ trunk/Source/WebCore/platform/graphics/GraphicsContextGL.h	2021-03-19 05:30:06 UTC (rev 274704)
@@ -910,7 +910,7 @@
 
     // Creates a GraphicsContextGL instance to render into offscreen destination in context of HostWindow.
     // HostWindow might affect the decision which backend is to be used.
-    static RefPtr<GraphicsContextGL> create(const GraphicsContextGLAttributes&, HostWindow*);
+    WEBCORE_EXPORT static RefPtr<GraphicsContextGL> create(const GraphicsContextGLAttributes&, HostWindow*);
 
     GraphicsContextGL(GraphicsContextGLAttributes, GraphicsContextGL* sharedContext = nullptr);
     virtual ~GraphicsContextGL() = default;

Modified: trunk/Source/WebCore/testing/WebFakeXRDevice.cpp (274703 => 274704)


--- trunk/Source/WebCore/testing/WebFakeXRDevice.cpp	2021-03-19 04:57:59 UTC (rev 274703)
+++ trunk/Source/WebCore/testing/WebFakeXRDevice.cpp	2021-03-19 05:30:06 UTC (rev 274704)
@@ -29,7 +29,6 @@
 #if ENABLE(WEBXR)
 
 #include "DOMPointReadOnly.h"
-#include "GLContext.h"
 #include "GraphicsContextGL.h"
 #include "JSDOMPromiseDeferred.h"
 #include "WebFakeXRInputController.h"

Modified: trunk/Source/WebCore/testing/WebFakeXRDevice.h (274703 => 274704)


--- trunk/Source/WebCore/testing/WebFakeXRDevice.h	2021-03-19 04:57:59 UTC (rev 274703)
+++ trunk/Source/WebCore/testing/WebFakeXRDevice.h	2021-03-19 05:30:06 UTC (rev 274704)
@@ -38,7 +38,6 @@
 #include <wtf/Vector.h>
 
 namespace WebCore {
-class GLContext;
 class GraphicsContextGL;
 
 class FakeXRView final : public RefCounted<FakeXRView> {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to