Title: [276381] trunk/Source/WebKit
Revision
276381
Author
[email protected]
Date
2021-04-21 12:07:56 -0700 (Wed, 21 Apr 2021)

Log Message

Fix build break after r276363
https://bugs.webkit.org/show_bug.cgi?id=224881

Unreviewed, build fix.

Fix build break after r276363
WebGL GPUP crashes when preparing for display due to off-thread WeakPtr access (IOSURFACE_SET_OWNERSHIP_IDENTITY)

Patch by Kimmo Kinnunen <[email protected]> on 2021-04-21

* GPUProcess/graphics/RemoteGraphicsContextGLCocoa.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (276380 => 276381)


--- trunk/Source/WebKit/ChangeLog	2021-04-21 19:07:50 UTC (rev 276380)
+++ trunk/Source/WebKit/ChangeLog	2021-04-21 19:07:56 UTC (rev 276381)
@@ -1,3 +1,15 @@
+2021-04-21  Kimmo Kinnunen  <[email protected]>
+
+        Fix build break after r276363
+        https://bugs.webkit.org/show_bug.cgi?id=224881
+
+        Unreviewed, build fix.
+
+        Fix build break after r276363
+        WebGL GPUP crashes when preparing for display due to off-thread WeakPtr access (IOSURFACE_SET_OWNERSHIP_IDENTITY)
+
+        * GPUProcess/graphics/RemoteGraphicsContextGLCocoa.cpp:
+
 2021-04-21  Kate Cheney  <[email protected]>
 
         Followup change to bug 224779 based on post-land review comment.

Modified: trunk/Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLCocoa.cpp (276380 => 276381)


--- trunk/Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLCocoa.cpp	2021-04-21 19:07:50 UTC (rev 276380)
+++ trunk/Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLCocoa.cpp	2021-04-21 19:07:56 UTC (rev 276381)
@@ -47,7 +47,7 @@
     void prepareForDisplay(CompletionHandler<void(WTF::MachSendRight&&)>&&) final;
 private:
     WebCore::GraphicsContextGLIOSurfaceSwapChain m_swapChain;
-#if HAVE(TASK_IDENTITY_TOKEN)
+#if HAVE(IOSURFACE_SET_OWNERSHIP_IDENTITY)
     task_id_token_t m_webProcessIdentityToken;
 #endif
 };
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to