Index: Source/core/inspector/InspectorTraceEvents.cpp |
diff --git a/Source/core/inspector/InspectorTraceEvents.cpp b/Source/core/inspector/InspectorTraceEvents.cpp |
index 0227c4b0f6c17092abd58d5c44f6bb055164b0b9..a22cb3520abecf56df40d32d08d841467ab75da7 100644 |
--- a/Source/core/inspector/InspectorTraceEvents.cpp |
+++ b/Source/core/inspector/InspectorTraceEvents.cpp |
@@ -498,10 +498,10 @@ static void localToPageQuad(const LayoutObject& renderer, const LayoutRect& rect |
LocalFrame* frame = renderer.frame(); |
FrameView* view = frame->view(); |
FloatQuad absolute = renderer.localToAbsoluteQuad(FloatQuad(rect)); |
- quad->setP1(view->contentsToRootView(roundedIntPoint(absolute.p1()))); |
- quad->setP2(view->contentsToRootView(roundedIntPoint(absolute.p2()))); |
- quad->setP3(view->contentsToRootView(roundedIntPoint(absolute.p3()))); |
- quad->setP4(view->contentsToRootView(roundedIntPoint(absolute.p4()))); |
+ quad->setP1(view->contentsToRootFrame(roundedIntPoint(absolute.p1()))); |
+ quad->setP2(view->contentsToRootFrame(roundedIntPoint(absolute.p2()))); |
+ quad->setP3(view->contentsToRootFrame(roundedIntPoint(absolute.p3()))); |
+ quad->setP4(view->contentsToRootFrame(roundedIntPoint(absolute.p4()))); |
} |
const char InspectorLayerInvalidationTrackingEvent::SquashingLayerGeometryWasUpdated[] = "Squashing layer geometry was updated"; |