Title: [169985] trunk/Source/WebKit2
Revision
169985
Author
[email protected]
Date
2014-06-14 16:32:36 -0700 (Sat, 14 Jun 2014)

Log Message

iOS build fix.

* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _snapshotRect:intoImageOfWidth:completionHandler:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (169984 => 169985)


--- trunk/Source/WebKit2/ChangeLog	2014-06-14 23:11:42 UTC (rev 169984)
+++ trunk/Source/WebKit2/ChangeLog	2014-06-14 23:32:36 UTC (rev 169985)
@@ -1,5 +1,12 @@
 2014-06-14  Dan Bernstein  <[email protected]>
 
+        iOS build fix.
+
+        * UIProcess/API/Cocoa/WKWebView.mm:
+        (-[WKWebView _snapshotRect:intoImageOfWidth:completionHandler:]):
+
+2014-06-14  Dan Bernstein  <[email protected]>
+
         Get rid of GenericAPICallback
         https://bugs.webkit.org/show_bug.cgi?id=133909
 

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


--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm	2014-06-14 23:11:42 UTC (rev 169984)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm	2014-06-14 23:32:36 UTC (rev 169985)
@@ -2030,7 +2030,7 @@
 #endif
     
     void(^copiedCompletionHandler)(CGImageRef) = [completionHandler copy];
-    _page->takeSnapshot(WebCore::enclosingIntRect(snapshotRectInContentCoordinates), WebCore::expandedIntSize(WebCore::FloatSize(imageSize)), WebKit::SnapshotOptionsExcludeDeviceScaleFactor, [=](const WebKit::ShareableBitmap::Handle& imageHandle, CallbackBase::Error) {
+    _page->takeSnapshot(WebCore::enclosingIntRect(snapshotRectInContentCoordinates), WebCore::expandedIntSize(WebCore::FloatSize(imageSize)), WebKit::SnapshotOptionsExcludeDeviceScaleFactor, [=](const WebKit::ShareableBitmap::Handle& imageHandle, WebKit::CallbackBase::Error) {
 #if PLATFORM(IOS)
         // Automatically delete when this goes out of scope.
         auto uniqueActivityToken = std::unique_ptr<WebKit::ProcessThrottler::BackgroundActivityToken>(activityToken);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to