Title: [184425] trunk/Source/WebKit2
Revision
184425
Author
[email protected]
Date
2015-05-15 19:24:19 -0700 (Fri, 15 May 2015)

Log Message

Don't reset the preview recognizer in [WKContentViewInteraction cleanupInteraction]
https://bugs.webkit.org/show_bug.cgi?id=145081

We shouldn't reset the recognizer in [WKContentViewInteraction cleanupInteraction] since we don't re-add it
back to WKContentView when the process relaunched. Since we already add/remove it when the view is move into/
removed from the window, we don't need reset it in cleanupInteraction.

Patch by Yongjun Zhang <[email protected]> on 2015-05-15
Reviewed by Dan Bernstein.

* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView cleanupInteraction]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (184424 => 184425)


--- trunk/Source/WebKit2/ChangeLog	2015-05-16 01:46:53 UTC (rev 184424)
+++ trunk/Source/WebKit2/ChangeLog	2015-05-16 02:24:19 UTC (rev 184425)
@@ -1,3 +1,17 @@
+2015-05-15  Yongjun Zhang  <[email protected]>
+
+        Don't reset the preview recognizer in [WKContentViewInteraction cleanupInteraction]
+        https://bugs.webkit.org/show_bug.cgi?id=145081
+
+        We shouldn't reset the recognizer in [WKContentViewInteraction cleanupInteraction] since we don't re-add it
+        back to WKContentView when the process relaunched. Since we already add/remove it when the view is move into/
+        removed from the window, we don't need reset it in cleanupInteraction.
+
+        Reviewed by Dan Bernstein.
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+        (-[WKContentView cleanupInteraction]):
+
 2015-05-15  James Savage  <[email protected]>
 
         REGRESSION (r181910): WKWebView incorrectly scales snapshot

Modified: trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm (184424 => 184425)


--- trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm	2015-05-16 01:46:53 UTC (rev 184424)
+++ trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm	2015-05-16 02:24:19 UTC (rev 184425)
@@ -375,9 +375,6 @@
     [_twoFingerDoubleTapGestureRecognizer setDelegate:nil];
     [self removeGestureRecognizer:_twoFingerDoubleTapGestureRecognizer.get()];
 
-    [_previewGestureRecognizer setDelegate:nil];
-    [self removeGestureRecognizer:_previewGestureRecognizer.get()];
-
     _inspectorNodeSearchEnabled = NO;
     if (_inspectorNodeSearchGestureRecognizer) {
         [_inspectorNodeSearchGestureRecognizer setDelegate:nil];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to