Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 4bd356449867a7b8652b9dc66869cdd11ce155ea..ab3289a946187f852fbbbdbc715fedb944797ea9 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -3102,10 +3102,10 @@ MouseEventWithHitTestResults Document::prepareMouseEvent(const HitTestRequest& r |
// happening, which could show a flash of white. |
// See also the similar code in EventHandler::hitTestResultAtPoint. |
if (!layoutView() || !view() || !view()->didFirstLayout()) |
- return MouseEventWithHitTestResults(event, HitTestResult(LayoutPoint())); |
+ return MouseEventWithHitTestResults(event, HitTestResult(request, LayoutPoint())); |
- HitTestResult result(documentPoint); |
- layoutView()->hitTest(request, result); |
+ HitTestResult result(request, documentPoint); |
+ layoutView()->hitTest(result); |
if (!request.readOnly()) |
updateHoverActiveState(request, result.innerElement(), &event); |