Title: [278145] trunk/Source/WebKit
Revision
278145
Author
timothy_hor...@apple.com
Date
2021-05-26 20:16:55 -0700 (Wed, 26 May 2021)

Log Message

Fix the ENABLE(CG_DISPLAY_LIST_BACKED_IMAGE_BUFFER) build

* Shared/RemoteLayerTree/CGDisplayListImageBufferBackend.cpp:
(WebKit::CGDisplayListImageBufferBackend::create):
Missed one GraphicsContext!

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (278144 => 278145)


--- trunk/Source/WebKit/ChangeLog	2021-05-27 01:48:53 UTC (rev 278144)
+++ trunk/Source/WebKit/ChangeLog	2021-05-27 03:16:55 UTC (rev 278145)
@@ -1,3 +1,11 @@
+2021-05-26  Tim Horton  <timothy_hor...@apple.com>
+
+        Fix the ENABLE(CG_DISPLAY_LIST_BACKED_IMAGE_BUFFER) build
+
+        * Shared/RemoteLayerTree/CGDisplayListImageBufferBackend.cpp:
+        (WebKit::CGDisplayListImageBufferBackend::create):
+        Missed one GraphicsContext!
+
 2021-05-26  Jean-Yves Avenard  <j...@apple.com>
 
         Make MediaSession readystate enums all lowercase

Modified: trunk/Source/WebKit/Shared/RemoteLayerTree/CGDisplayListImageBufferBackend.cpp (278144 => 278145)


--- trunk/Source/WebKit/Shared/RemoteLayerTree/CGDisplayListImageBufferBackend.cpp	2021-05-27 01:48:53 UTC (rev 278144)
+++ trunk/Source/WebKit/Shared/RemoteLayerTree/CGDisplayListImageBufferBackend.cpp	2021-05-27 03:16:55 UTC (rev 278145)
@@ -28,7 +28,7 @@
 
 #if ENABLE(CG_DISPLAY_LIST_BACKED_IMAGE_BUFFER)
 
-#include <WebCore/GraphicsContext.h>
+#include <WebCore/GraphicsContextCG.h>
 #include <WebCore/PixelBuffer.h>
 #include <WebKitAdditions/CGDisplayListImageBufferAdditions.h>
 #include <wtf/IsoMallocInlines.h>
@@ -55,7 +55,7 @@
     if (!cgContext)
         return nullptr;
 
-    auto context = makeUnique<WebCore::GraphicsContext>(cgContext.get());
+    auto context = makeUnique<WebCore::GraphicsContextCG>(cgContext.get());
     return std::unique_ptr<CGDisplayListImageBufferBackend>(new CGDisplayListImageBufferBackend(parameters, WTFMove(context)));
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to