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

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: rebased Created 4 years, 8 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 | « third_party/WebKit/Source/platform/v8_inspector/public/V8ProfilerAgent.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ac2450560028a3b95556d1ae2b6ef655d12b7343..3ac3f85cbeb8b95ead934c5ed3b0f9aded80d39b 100644
--- a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
+++ b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
@@ -649,14 +649,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();
}
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/public/V8ProfilerAgent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698