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

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: Rebase again 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
« no previous file with comments | « Source/core/inspector/InspectorOverlay.cpp ('k') | Source/core/loader/EmptyClients.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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";
« no previous file with comments | « Source/core/inspector/InspectorOverlay.cpp ('k') | Source/core/loader/EmptyClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698