Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp

Issue 1913283003: [DevTools] Rework idle{Started,Finished} instrumentation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@1907663005
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
index 119a69c629f4d0e24def81cf3631557b2c56e198..b621474442bf86a42b357fbf5c047c3431f8307c 100644
--- a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
+++ b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
@@ -654,14 +654,14 @@ void WebDevToolsAgentImpl::willProcessTask()
{
if (!attached())
return;
- InspectorInstrumentation::willProcessTask(m_inspectedFrames->root());
+ ThreadDebugger::idleFinished(V8PerIsolateData::mainThreadIsolate());
}
void WebDevToolsAgentImpl::didProcessTask()
{
if (!attached())
return;
- InspectorInstrumentation::didProcessTask(m_inspectedFrames->root());
+ ThreadDebugger::idleStarted(V8PerIsolateData::mainThreadIsolate());
flushPendingProtocolNotifications();
}

Powered by Google App Engine