Title: [161227] trunk/Source/WebCore
Revision
161227
Author
[email protected]
Date
2014-01-02 14:32:19 -0800 (Thu, 02 Jan 2014)

Log Message

[iOS] Tapping any link crashes in WebCore::EventHandler::mouseMoved()
(also crashes when scrolling certain sites)
https://bugs.webkit.org/show_bug.cgi?id=126401
<rdar://problem/15739334>

Reviewed by Tim Horton.

* page/ios/EventHandlerIOS.mm:
(WebCore::currentEventSlot): Make the shared variable have static-storage duration.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (161226 => 161227)


--- trunk/Source/WebCore/ChangeLog	2014-01-02 22:20:05 UTC (rev 161226)
+++ trunk/Source/WebCore/ChangeLog	2014-01-02 22:32:19 UTC (rev 161227)
@@ -1,3 +1,15 @@
+2014-01-02  Daniel Bates  <[email protected]>
+
+        [iOS] Tapping any link crashes in WebCore::EventHandler::mouseMoved()
+        (also crashes when scrolling certain sites)
+        https://bugs.webkit.org/show_bug.cgi?id=126401
+        <rdar://problem/15739334>
+
+        Reviewed by Tim Horton.
+
+        * page/ios/EventHandlerIOS.mm:
+        (WebCore::currentEventSlot): Make the shared variable have static-storage duration.
+
 2014-01-02  Gavin Barraclough  <[email protected]>
 
         Merge didMoveOnscreen / page visibility to isVisible

Modified: trunk/Source/WebCore/page/ios/EventHandlerIOS.mm (161226 => 161227)


--- trunk/Source/WebCore/page/ios/EventHandlerIOS.mm	2014-01-02 22:20:05 UTC (rev 161226)
+++ trunk/Source/WebCore/page/ios/EventHandlerIOS.mm	2014-01-02 22:32:19 UTC (rev 161227)
@@ -53,7 +53,7 @@
 
 static RetainPtr<WebEvent>& currentEventSlot()
 {
-    NeverDestroyed<RetainPtr<WebEvent>> event;
+    static NeverDestroyed<RetainPtr<WebEvent>> event;
     return event;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to