Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(816)

Unified Diff: Source/core/inspector/InspectorTraceEvents.cpp

Issue 919423002: Audited and renamed uses of methods and variables named RootView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Build fix Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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";

Powered by Google App Engine
This is Rietveld 408576698