Index: third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp |
index 0ba7564508a0dafcbca0fa5fde2be4a1fd4a3f6a..2b86e5ce8ed0224d2b1e9556b0c46edcd3eadbc6 100644 |
--- a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp |
@@ -543,8 +543,7 @@ void WebDevToolsAgentImpl::inspectElementAt(int sessionId, |
HitTestRequest request(hitType); |
WebMouseEvent dummyEvent(WebInputEvent::MouseDown, WebInputEvent::NoModifiers, |
WTF::monotonicallyIncreasingTimeMS()); |
- dummyEvent.x = pointInRootFrame.x; |
- dummyEvent.y = pointInRootFrame.y; |
+ dummyEvent.setPositionInWidget(pointInRootFrame.x, pointInRootFrame.y); |
IntPoint transformedPoint = flooredIntPoint( |
TransformWebMouseEvent(m_webLocalFrameImpl->frameView(), dummyEvent) |
.positionInRootFrame()); |