Title: [166336] trunk/Source/WebKit2
Revision
166336
Author
timothy_hor...@apple.com
Date
2014-03-26 20:41:40 -0700 (Wed, 26 Mar 2014)

Log Message

[iOS WebKit2] Crashes on swipe
<rdar://problem/16440867>

Reviewed by Benjamin Poulain.

* UIProcess/ios/ViewGestureControllerIOS.mm:
(WebKit::ViewGestureController::beginSwipeGesture):
Get the IOSurfaceRef from the WebCore::IOSurface.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (166335 => 166336)


--- trunk/Source/WebKit2/ChangeLog	2014-03-27 03:22:59 UTC (rev 166335)
+++ trunk/Source/WebKit2/ChangeLog	2014-03-27 03:41:40 UTC (rev 166336)
@@ -1,3 +1,14 @@
+2014-03-26  Tim Horton  <timothy_hor...@apple.com>
+
+        [iOS WebKit2] Crashes on swipe
+        <rdar://problem/16440867>
+
+        Reviewed by Benjamin Poulain.
+
+        * UIProcess/ios/ViewGestureControllerIOS.mm:
+        (WebKit::ViewGestureController::beginSwipeGesture):
+        Get the IOSurfaceRef from the WebCore::IOSurface.
+
 2014-03-26  Simon Fraser  <simon.fra...@apple.com>
 
         Fix the build: include UIKit headers inside the iOS #ifdef.

Modified: trunk/Source/WebKit2/UIProcess/ios/ViewGestureControllerIOS.mm (166335 => 166336)


--- trunk/Source/WebKit2/UIProcess/ios/ViewGestureControllerIOS.mm	2014-03-27 03:22:59 UTC (rev 166335)
+++ trunk/Source/WebKit2/UIProcess/ios/ViewGestureControllerIOS.mm	2014-03-27 03:41:40 UTC (rev 166336)
@@ -158,7 +158,7 @@
     if (snapshot) {
 #if USE(IOSURFACE)
         if (snapshot->setIsPurgeable(false) == IOSurface::SurfaceState::Valid) {
-            [m_snapshotView layer].contents = (id)snapshot.get();
+            [m_snapshotView layer].contents = (id)snapshot->surface();
             m_currentSwipeSnapshotSurface = snapshot;
         }
 #else
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to