Title: [275157] trunk/Source/WebKit
Revision
275157
Author
[email protected]
Date
2021-03-28 21:50:02 -0700 (Sun, 28 Mar 2021)

Log Message

[GPU Process] Don't ever replay DisplayList items of a RemoteImageBuffer in WebProcess
https://bugs.webkit.org/show_bug.cgi?id=223780
<rdar://75852494>

Reviewed by Wenson Hsieh.

Make sure the destructor of RemoteImageBufferProxy clears its DisplayList
so the destructor of the base class does not replay its items in WebProcess.

* WebProcess/GPU/graphics/RemoteImageBufferProxy.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (275156 => 275157)


--- trunk/Source/WebKit/ChangeLog	2021-03-29 04:47:27 UTC (rev 275156)
+++ trunk/Source/WebKit/ChangeLog	2021-03-29 04:50:02 UTC (rev 275157)
@@ -1,3 +1,16 @@
+2021-03-28  Said Abou-Hallawa  <[email protected]>
+
+        [GPU Process] Don't ever replay DisplayList items of a RemoteImageBuffer in WebProcess
+        https://bugs.webkit.org/show_bug.cgi?id=223780
+        <rdar://75852494>
+
+        Reviewed by Wenson Hsieh.
+
+        Make sure the destructor of RemoteImageBufferProxy clears its DisplayList
+        so the destructor of the base class does not replay its items in WebProcess.
+
+        * WebProcess/GPU/graphics/RemoteImageBufferProxy.h:
+
 2021-03-28  Sam Weinig  <[email protected]>
 
         Remove ENABLE_INDEXED_DATABASE & ENABLE_INDEXED_DATABASE_IN_WORKERS, it seems like it is on for all ports

Modified: trunk/Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.h (275156 => 275157)


--- trunk/Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.h	2021-03-29 04:47:27 UTC (rev 275156)
+++ trunk/Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.h	2021-03-29 04:50:02 UTC (rev 275157)
@@ -64,8 +64,11 @@
 
     ~RemoteImageBufferProxy()
     {
-        if (!m_remoteRenderingBackendProxy)
+        if (!m_remoteRenderingBackendProxy) {
+            clearDisplayList();
             return;
+        }
+
         flushDrawingContext();
         m_remoteRenderingBackendProxy->remoteResourceCacheProxy().releaseImageBuffer(m_renderingResourceIdentifier);
         m_remoteRenderingBackendProxy->releaseRemoteResource(m_renderingResourceIdentifier);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to