diff options
Diffstat (limited to 'deps/v8/src/inspector/v8-profiler-agent-impl.cc')
-rw-r--r-- | deps/v8/src/inspector/v8-profiler-agent-impl.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/deps/v8/src/inspector/v8-profiler-agent-impl.cc b/deps/v8/src/inspector/v8-profiler-agent-impl.cc index 2675216143..59a99d79d5 100644 --- a/deps/v8/src/inspector/v8-profiler-agent-impl.cc +++ b/deps/v8/src/inspector/v8-profiler-agent-impl.cc @@ -476,7 +476,6 @@ void V8ProfilerAgentImpl::startProfiling(const String16& title) { if (!m_startedProfilesCount) { DCHECK(!m_profiler); m_profiler = v8::CpuProfiler::New(m_isolate); - m_profiler->SetIdle(m_idle); int interval = m_state->integerProperty(ProfilerAgentState::samplingInterval, 0); if (interval) m_profiler->SetSamplingInterval(interval); @@ -503,16 +502,4 @@ std::unique_ptr<protocol::Profiler::Profile> V8ProfilerAgentImpl::stopProfiling( return result; } -bool V8ProfilerAgentImpl::idleStarted() { - m_idle = true; - if (m_profiler) m_profiler->SetIdle(m_idle); - return m_profiler; -} - -bool V8ProfilerAgentImpl::idleFinished() { - m_idle = false; - if (m_profiler) m_profiler->SetIdle(m_idle); - return m_profiler; -} - } // namespace v8_inspector |