[iOS] Tapping any link crashes in WebCore::EventHandler::mouseMoved()
[WebKit-https.git] / Source / WebCore / page / ios / EventHandlerIOS.mm
index 1c37a34..5ac76fd 100644 (file)
@@ -53,7 +53,7 @@ namespace WebCore {
 
 static RetainPtr<WebEvent>& currentEventSlot()
 {
-    NeverDestroyed<RetainPtr<WebEvent>> event;
+    static NeverDestroyed<RetainPtr<WebEvent>> event;
     return event;
 }