Title: [198724] trunk/Source/WebKit2
Revision
198724
Author
[email protected]
Date
2016-03-26 20:07:04 -0700 (Sat, 26 Mar 2016)

Log Message

Tried to fix the build.

* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _takeViewSnapshot]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (198723 => 198724)


--- trunk/Source/WebKit2/ChangeLog	2016-03-27 02:13:01 UTC (rev 198723)
+++ trunk/Source/WebKit2/ChangeLog	2016-03-27 03:07:04 UTC (rev 198724)
@@ -5,6 +5,13 @@
         * UIProcess/API/Cocoa/WKWebView.mm:
         (-[WKWebView _takeViewSnapshot]):
 
+2016-03-26  Dan Bernstein  <[email protected]>
+
+        Tried to fix the build.
+
+        * UIProcess/API/Cocoa/WKWebView.mm:
+        (-[WKWebView _takeViewSnapshot]):
+
 2016-03-26  Dean Jackson  <[email protected]>
 
         Fix build after my most recent commit.

Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm (198723 => 198724)


--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm	2016-03-27 02:13:01 UTC (rev 198723)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm	2016-03-27 03:07:04 UTC (rev 198724)
@@ -1322,7 +1322,7 @@
     CATransform3D transform = CATransform3DMakeScale(deviceScale, deviceScale, 1);
 
 #if USE(IOSURFACE)
-    WebCore::IOSurface::Format snapshotFormat = screenSupportsExtendedColor() ? WebCore::IOSurface::Format::RGB10 : WebCore::IOSurface::Format::RGBA;
+    WebCore::IOSurface::Format snapshotFormat = WebCore::screenSupportsExtendedColor() ? WebCore::IOSurface::Format::RGB10 : WebCore::IOSurface::Format::RGBA;
     auto surface = WebCore::IOSurface::create(WebCore::expandedIntSize(snapshotSize), WebCore::ColorSpaceSRGB, snapshotFormat);
     CARenderServerRenderLayerWithTransform(MACH_PORT_NULL, self.layer.context.contextId, reinterpret_cast<uint64_t>(self.layer), surface->surface(), 0, 0, &transform);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to