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

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

Issue 2727633006: DevTools: Rename InspectorInstrumentation:: namespace into probe:: (Closed)
Patch Set: Created 3 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: third_party/WebKit/Source/core/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index b4ee41211e98988bb94db4ddb9c3f34dcc5bb4f8..65712860f8dd3f35dc908b0662d51922ae7851eb 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -1177,7 +1177,7 @@ void FrameView::layout() {
Document* document = m_frame->document();
TRACE_EVENT_BEGIN1("devtools.timeline", "Layout", "beginData",
InspectorLayoutEvent::beginData(this));
- InspectorInstrumentation::willUpdateLayout(document);
+ probe::willUpdateLayout(document);
performPreLayoutTasks();
@@ -1320,7 +1320,7 @@ void FrameView::layout() {
// Remove or update this code. crbug.com/460596
TRACE_EVENT_END1("devtools.timeline", "Layout", "endData",
InspectorLayoutEvent::endData(rootForThisLayout));
- InspectorInstrumentation::didUpdateLayout(m_frame.get());
+ probe::didUpdateLayout(m_frame.get());
m_nestedLayoutCount--;
if (m_nestedLayoutCount)
@@ -1768,14 +1768,14 @@ bool FrameView::scrollContentsFastPath(const IntSize& scrollDelta) {
if (!m_viewportConstrainedObjects ||
m_viewportConstrainedObjects->isEmpty()) {
- InspectorInstrumentation::didUpdateLayout(m_frame.get());
+ probe::didUpdateLayout(m_frame.get());
return true;
}
if (!invalidateViewportConstrainedObjects())
return false;
- InspectorInstrumentation::didUpdateLayout(m_frame.get());
+ probe::didUpdateLayout(m_frame.get());
return true;
}
@@ -2542,7 +2542,7 @@ void FrameView::sendResizeEventIfNeeded() {
m_frame->document()->enqueueResizeEvent();
if (m_frame->isMainFrame())
- InspectorInstrumentation::didResizeMainFrame(m_frame.get());
+ probe::didResizeMainFrame(m_frame.get());
}
void FrameView::postLayoutTimerFired(TimerBase*) {
« no previous file with comments | « third_party/WebKit/Source/core/frame/DOMWindow.cpp ('k') | third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698