Hovering over a slotted Text node clears hover state
[WebKit-https.git] / Source / WebKit2 / WebProcess / WebPage / WebPage.cpp
index e4bd911..6f03a28 100644 (file)
@@ -5281,7 +5281,7 @@ void WebPage::determinePrimarySnapshottedPlugIn()
             HitTestResult hitTestResult(plugInRectRelativeToTopDocument.center());
             mainRenderView.hitTest(request, hitTestResult);
 
-            Element* element = hitTestResult.innerElement();
+            Element* element = hitTestResult.targetElement();
             if (!element)
                 continue;