Index: Source/core/inspector/InspectorInputAgent.cpp |
diff --git a/Source/core/inspector/InspectorInputAgent.cpp b/Source/core/inspector/InspectorInputAgent.cpp |
index 7177b4d8918727a3439116d82d3940a3ef4e835b..3a92cbc86b800380ab5056d84caff94dc81b1c5a 100644 |
--- a/Source/core/inspector/InspectorInputAgent.cpp |
+++ b/Source/core/inspector/InspectorInputAgent.cpp |
@@ -83,7 +83,7 @@ public: |
void ConvertInspectorPoint(blink::LocalFrame* frame, const blink::IntPoint& point, blink::IntPoint* convertedPoint, blink::IntPoint* globalPoint) |
{ |
*convertedPoint = frame->view()->convertToContainingWindow(point); |
- *globalPoint = frame->page()->chrome().rootViewToScreen(blink::IntRect(point, blink::IntSize(0, 0))).location(); |
+ *globalPoint = frame->page()->chrome().viewportToScreen(blink::IntRect(point, blink::IntSize(0, 0))).location(); |
} |
} // namespace |