Index: Source/web/WebDevToolsAgentImpl.cpp |
diff --git a/Source/web/WebDevToolsAgentImpl.cpp b/Source/web/WebDevToolsAgentImpl.cpp |
index 2c23dc64fead433ba3f801e8ad7690373307fa6d..68b177e1f26826181ae54b9e5137e6b8f1b790b1 100644 |
--- a/Source/web/WebDevToolsAgentImpl.cpp |
+++ b/Source/web/WebDevToolsAgentImpl.cpp |
@@ -658,8 +658,8 @@ void WebDevToolsAgentImpl::inspectElementAt(const WebPoint& pointInRootFrame) |
dummyEvent.x = pointInRootFrame.x; |
dummyEvent.y = pointInRootFrame.y; |
IntPoint transformedPoint = PlatformMouseEventBuilder(m_webLocalFrameImpl->frameView(), dummyEvent).position(); |
- HitTestResult result(m_webLocalFrameImpl->frameView()->rootFrameToContents(transformedPoint)); |
- m_webLocalFrameImpl->frame()->contentRenderer()->hitTest(request, result); |
+ HitTestResult result(request, m_webLocalFrameImpl->frameView()->rootFrameToContents(transformedPoint)); |
+ m_webLocalFrameImpl->frame()->contentRenderer()->hitTest(result); |
Node* node = result.innerNode(); |
if (!node && m_webLocalFrameImpl->frame()->document()) |
node = m_webLocalFrameImpl->frame()->document()->documentElement(); |