| Index: third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.cpp
|
| index 2c295c7d2081b7a086a44d093aaa340b7d4c1e32..7204818e086620e03fdba7e59fda1296ba54206e 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorProfilerAgent.cpp
|
| @@ -58,22 +58,17 @@ InspectorProfilerAgent::~InspectorProfilerAgent()
|
| }
|
|
|
| // InspectorBaseAgent overrides.
|
| -void InspectorProfilerAgent::setState(protocol::DictionaryValue* state)
|
| +void InspectorProfilerAgent::init(InstrumentingAgents* instrumentingAgents, protocol::Frontend* baseFrontend, protocol::Dispatcher* dispatcher, protocol::DictionaryValue* state)
|
| {
|
| - InspectorBaseAgent::setState(state);
|
| + InspectorBaseAgent::init(instrumentingAgents, baseFrontend, dispatcher, state);
|
| m_v8ProfilerAgent->setInspectorState(m_state);
|
| + m_v8ProfilerAgent->setFrontend(frontend());
|
| }
|
|
|
| -void InspectorProfilerAgent::setFrontend(protocol::Frontend* frontend)
|
| -{
|
| - InspectorBaseAgent::setFrontend(frontend);
|
| - m_v8ProfilerAgent->setFrontend(protocol::Frontend::Profiler::from(frontend));
|
| -}
|
| -
|
| -void InspectorProfilerAgent::clearFrontend()
|
| +void InspectorProfilerAgent::dispose()
|
| {
|
| m_v8ProfilerAgent->clearFrontend();
|
| - InspectorBaseAgent::clearFrontend();
|
| + InspectorBaseAgent::dispose();
|
| }
|
|
|
| void InspectorProfilerAgent::restore()
|
|
|