| 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 40192f0f85a710830b55452c893d22427646172a..3bb1e05c19a1dfabb642250f3a76be315c989fed 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp
|
| @@ -243,6 +243,7 @@ void V8ProfilerAgentImpl::start(ErrorString* error)
|
| m_frontendInitiatedProfileId = nextProfileId();
|
| startProfiling(m_frontendInitiatedProfileId);
|
| m_state->setBoolean(ProfilerAgentState::userInitiatedProfiling, true);
|
| + m_session->client()->profilingStarted();
|
| }
|
|
|
| void V8ProfilerAgentImpl::stop(ErrorString* errorString, OwnPtr<protocol::Profiler::CPUProfile>* profile)
|
| @@ -261,6 +262,7 @@ void V8ProfilerAgentImpl::stop(ErrorString* errorString, OwnPtr<protocol::Profil
|
| }
|
| m_frontendInitiatedProfileId = String16();
|
| m_state->setBoolean(ProfilerAgentState::userInitiatedProfiling, false);
|
| + m_session->client()->profilingStopped();
|
| }
|
|
|
| String16 V8ProfilerAgentImpl::nextProfileId()
|
|
|