Title: [285856] trunk/Source/WebKit
Revision
285856
Author
[email protected]
Date
2021-11-16 02:44:32 -0800 (Tue, 16 Nov 2021)

Log Message

RemoteGraphicsContextGLCocoa::m_swapChain is unused
https://bugs.webkit.org/show_bug.cgi?id=233176

Patch by Kimmo Kinnunen <[email protected]> on 2021-11-16
Reviewed by Antti Koivisto.

Remove the unused variable.

* GPUProcess/graphics/RemoteGraphicsContextGLCocoa.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (285855 => 285856)


--- trunk/Source/WebKit/ChangeLog	2021-11-16 09:48:23 UTC (rev 285855)
+++ trunk/Source/WebKit/ChangeLog	2021-11-16 10:44:32 UTC (rev 285856)
@@ -1,3 +1,14 @@
+2021-11-16  Kimmo Kinnunen  <[email protected]>
+
+        RemoteGraphicsContextGLCocoa::m_swapChain is unused
+        https://bugs.webkit.org/show_bug.cgi?id=233176
+
+        Reviewed by Antti Koivisto.
+
+        Remove the unused variable.
+
+        * GPUProcess/graphics/RemoteGraphicsContextGLCocoa.cpp:
+
 2021-11-15  Commit Queue  <[email protected]>
 
         Unreviewed, reverting r285812.

Modified: trunk/Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLCocoa.cpp (285855 => 285856)


--- trunk/Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLCocoa.cpp	2021-11-16 09:48:23 UTC (rev 285855)
+++ trunk/Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLCocoa.cpp	2021-11-16 10:44:32 UTC (rev 285856)
@@ -29,7 +29,6 @@
 #if ENABLE(GPU_PROCESS) && ENABLE(WEBGL) && PLATFORM(COCOA)
 
 #include "GPUConnectionToWebProcess.h"
-#include <WebCore/GraphicsContextGLIOSurfaceSwapChain.h>
 #include <wtf/MachSendRight.h>
 
 namespace WebKit {
@@ -46,7 +45,6 @@
     void platformWorkQueueInitialize(WebCore::GraphicsContextGLAttributes&&) final;
     void prepareForDisplay(CompletionHandler<void(WTF::MachSendRight&&)>&&) final;
 private:
-    WebCore::GraphicsContextGLIOSurfaceSwapChain m_swapChain WTF_GUARDED_BY_LOCK(m_streamThread);
 #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