| Index: src/inspector/v8-profiler-agent-impl.cc
|
| diff --git a/src/inspector/v8-profiler-agent-impl.cc b/src/inspector/v8-profiler-agent-impl.cc
|
| index 6e7bcfcb6e4d754565919d1a399388e625d6fee6..e0366d27382039d58832192823d6fb07be85616a 100644
|
| --- a/src/inspector/v8-profiler-agent-impl.cc
|
| +++ b/src/inspector/v8-profiler-agent-impl.cc
|
| @@ -372,7 +372,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);
|
| @@ -399,16 +398,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
|
|
|