| Index: Source/core/inspector/InspectorInputAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorInputAgent.cpp b/Source/core/inspector/InspectorInputAgent.cpp
|
| index e72c60ffc3ff11e46fd7f579ef6eb19b7deaee1b..1240526413fba786b10ef31d79ab7cdfa6117dc2 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
|
|
|