Title: [163003] trunk/Source/WebKit2
Revision
163003
Author
timothy_hor...@apple.com
Date
2014-01-28 22:12:19 -0800 (Tue, 28 Jan 2014)

Log Message

Crashes in ViewGestureController::wheelEventWasNotHandledByWebCore
https://bugs.webkit.org/show_bug.cgi?id=127828
<rdar://problem/15932902>

Reviewed by Dan Bernstein.

* UIProcess/API/mac/WKView.mm:
(-[WKView _wheelEventWasNotHandledByWebCore:]):
Null check. ViewGestureController only needs unhandled wheel events after it has been created.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (163002 => 163003)


--- trunk/Source/WebKit2/ChangeLog	2014-01-29 06:03:52 UTC (rev 163002)
+++ trunk/Source/WebKit2/ChangeLog	2014-01-29 06:12:19 UTC (rev 163003)
@@ -1,5 +1,17 @@
 2014-01-28  Tim Horton  <timothy_hor...@apple.com>
 
+        Crashes in ViewGestureController::wheelEventWasNotHandledByWebCore
+        https://bugs.webkit.org/show_bug.cgi?id=127828
+        <rdar://problem/15932902>
+
+        Reviewed by Dan Bernstein.
+
+        * UIProcess/API/mac/WKView.mm:
+        (-[WKView _wheelEventWasNotHandledByWebCore:]):
+        Null check. ViewGestureController only needs unhandled wheel events after it has been created.
+
+2014-01-28  Tim Horton  <timothy_hor...@apple.com>
+
         Fix the Mountain Lion build if you have private headers.
 
         * UIProcess/mac/ViewGestureController.mm:

Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm (163002 => 163003)


--- trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm	2014-01-29 06:03:52 UTC (rev 163002)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm	2014-01-29 06:12:19 UTC (rev 163003)
@@ -2566,7 +2566,8 @@
 
 - (void)_wheelEventWasNotHandledByWebCore:(NSEvent *)event
 {
-    _data->_gestureController->wheelEventWasNotHandledByWebCore(event);
+    if (_data->_gestureController)
+        _data->_gestureController->wheelEventWasNotHandledByWebCore(event);
 }
 
 - (void)_setAccessibilityWebProcessToken:(NSData *)data
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to