Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.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.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp
index 631d080844c2fc4b39d87e981ae9e0064610149b..40192f0f85a710830b55452c893d22427646172a 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp
@@ -292,18 +292,4 @@ bool V8ProfilerAgentImpl::isRecording() const
return m_recordingCPUProfile || !m_startedProfiles.isEmpty();
}
-void V8ProfilerAgentImpl::idleFinished()
-{
- if (!isRecording())
- return;
- m_isolate->GetCpuProfiler()->SetIdle(false);
-}
-
-void V8ProfilerAgentImpl::idleStarted()
-{
- if (!isRecording())
- return;
- m_isolate->GetCpuProfiler()->SetIdle(true);
-}
-
} // namespace blink

Powered by Google App Engine