Frequent MESSAGE_CHECK failures in WebPageProxy::didReceiveEvent
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Jul 2013 18:25:22 +0000 (18:25 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Jul 2013 18:25:22 +0000 (18:25 +0000)
        https://bugs.webkit.org/show_bug.cgi?id=118976
        <rdar://problem/14155030>

        Reviewed by Sam Weinig.

        * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::resetStateAfterProcessExited):
        Clear m_gestureEventQueue, just like we clear all other event queues here.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@152984 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/WebPageProxy.cpp

index c4e7ec4..f4fa8b6 100644 (file)
@@ -1,3 +1,14 @@
+2013-07-22  Alexey Proskuryakov  <ap@apple.com>
+
+        Frequent MESSAGE_CHECK failures in WebPageProxy::didReceiveEvent
+        https://bugs.webkit.org/show_bug.cgi?id=118976
+        <rdar://problem/14155030>
+
+        Reviewed by Sam Weinig.
+
+        * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::resetStateAfterProcessExited):
+        Clear m_gestureEventQueue, just like we clear all other event queues here.
+
 2013-07-21  Anders Carlsson  <andersca@apple.com>
 
         Java Updater not launched on Lion and Mountain Lion
index 27e0c32..592b8ad 100644 (file)
@@ -3899,8 +3899,10 @@ void WebPageProxy::resetStateAfterProcessExited()
     setViewNeedsDisplay(IntRect(IntPoint(), viewSize()));
 
     // Can't expect DidReceiveEvent notifications from a crashed web process.
+#if ENABLE(GESTURE_EVENTS)
+    m_gestureEventQueue.clear();
+#endif
     m_keyEventQueue.clear();
-    
     m_wheelEventQueue.clear();
     m_currentlyProcessedWheelEvents.clear();