REGRESSION(223307): ASSERTION in WebCore::ResourceLoadObserver::logUserInteractionWit...
[WebKit-https.git] / Source / WebCore / page / EventHandler.cpp
index 999f1d1..4d9bb1b 100644 (file)
@@ -3130,7 +3130,7 @@ bool EventHandler::keyEvent(const PlatformKeyboardEvent& keyEvent)
         if (!wasHandled)
             topDocument->setUserDidInteractWithPage(savedUserDidInteractWithPage);
         else
-            ResourceLoadObserver::shared().logUserInteractionWithReducedTimeResolution(topDocument->topDocument());
+            ResourceLoadObserver::shared().logUserInteractionWithReducedTimeResolution(*topDocument);
     }
 
     return wasHandled;