Title: [106916] trunk/Source/WebCore
- Revision
- 106916
- Author
- [email protected]
- Date
- 2012-02-07 02:29:57 -0800 (Tue, 07 Feb 2012)
Log Message
[CRASH] bool EventHandler::dispatchSyntheticTouchEventIfEnabled(const PlatformMouseEvent& event) references a NULL pointer
https://bugs.webkit.org/show_bug.cgi?id=77953
Reviewed by Andreas Kling.
* page/EventHandler.cpp:
(WebCore::EventHandler::dispatchSyntheticTouchEventIfEnabled):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (106915 => 106916)
--- trunk/Source/WebCore/ChangeLog 2012-02-07 10:22:44 UTC (rev 106915)
+++ trunk/Source/WebCore/ChangeLog 2012-02-07 10:29:57 UTC (rev 106916)
@@ -1,3 +1,13 @@
+2012-02-07 Alexander Pavlov <[email protected]>
+
+ [CRASH] bool EventHandler::dispatchSyntheticTouchEventIfEnabled(const PlatformMouseEvent& event) references a NULL pointer
+ https://bugs.webkit.org/show_bug.cgi?id=77953
+
+ Reviewed by Andreas Kling.
+
+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::dispatchSyntheticTouchEventIfEnabled):
+
2012-02-07 Sheriff Bot <[email protected]>
Unreviewed, rolling out r106912.
Modified: trunk/Source/WebCore/page/EventHandler.cpp (106915 => 106916)
--- trunk/Source/WebCore/page/EventHandler.cpp 2012-02-07 10:22:44 UTC (rev 106915)
+++ trunk/Source/WebCore/page/EventHandler.cpp 2012-02-07 10:29:57 UTC (rev 106916)
@@ -3456,7 +3456,7 @@
bool EventHandler::dispatchSyntheticTouchEventIfEnabled(const PlatformMouseEvent& event)
{
- if (!m_frame->document()->settings()->isTouchEventEmulationEnabled())
+ if (!m_frame || !m_frame->settings() || !m_frame->settings()->isTouchEventEmulationEnabled())
return false;
PlatformEvent::Type eventType = event.type();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes