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

Unified Diff: Source/core/frame/FrameView.cpp

Issue 898593002: DevTools: use per-LocalFrame instrumenting agents instead of per-Page ones. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index 6633b1be6850dcd7980e7b7834dfd6b6f8b44d55..1de04eb321fd633b4d90fc56bae486ffc7b383f5 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -1358,7 +1358,7 @@ bool FrameView::scrollContentsFastPath(const IntSize& scrollDelta)
return false;
if (!m_viewportConstrainedObjects || m_viewportConstrainedObjects->isEmpty()) {
- InspectorInstrumentation::didScroll(page());
+ InspectorInstrumentation::didScroll(m_frame.get());
return true;
}
@@ -1382,7 +1382,7 @@ bool FrameView::scrollContentsFastPath(const IntSize& scrollDelta)
setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(layer);
}
- InspectorInstrumentation::didScroll(page());
+ InspectorInstrumentation::didScroll(m_frame.get());
return true;
}
@@ -2146,7 +2146,7 @@ void FrameView::sendResizeEventIfNeeded()
m_frame->document()->enqueueResizeEvent();
if (m_frame->isMainFrame())
- InspectorInstrumentation::didResizeMainFrame(m_frame->page());
+ InspectorInstrumentation::didResizeMainFrame(m_frame.get());
}
void FrameView::postLayoutTimerFired(Timer<FrameView>*)

Powered by Google App Engine
This is Rietveld 408576698