| Index: third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.cpp
|
| index f49b7a8ea4c4dc3e38be9f3707c464afdc21776b..fe8c59c968aa10c7c869206d5ff9bc7df4977c75 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorHeapProfilerAgent.cpp
|
| @@ -89,22 +89,17 @@ InspectorHeapProfilerAgent::~InspectorHeapProfilerAgent()
|
| }
|
|
|
| // InspectorBaseAgent overrides.
|
| -void InspectorHeapProfilerAgent::setState(protocol::DictionaryValue* state)
|
| +void InspectorHeapProfilerAgent::init(InstrumentingAgents* instrumentingAgents, protocol::Frontend* baseFrontend, protocol::Dispatcher* dispatcher, protocol::DictionaryValue* state)
|
| {
|
| - InspectorBaseAgent::setState(state);
|
| + InspectorBaseAgent::init(instrumentingAgents, baseFrontend, dispatcher, state);
|
| m_v8HeapProfilerAgent->setInspectorState(m_state);
|
| + m_v8HeapProfilerAgent->setFrontend(frontend());
|
| }
|
|
|
| -void InspectorHeapProfilerAgent::setFrontend(protocol::Frontend* frontend)
|
| -{
|
| - InspectorBaseAgent::setFrontend(frontend);
|
| - m_v8HeapProfilerAgent->setFrontend(protocol::Frontend::HeapProfiler::from(frontend));
|
| -}
|
| -
|
| -void InspectorHeapProfilerAgent::clearFrontend()
|
| +void InspectorHeapProfilerAgent::dispose()
|
| {
|
| m_v8HeapProfilerAgent->clearFrontend();
|
| - InspectorBaseAgent::clearFrontend();
|
| + InspectorBaseAgent::dispose();
|
| }
|
|
|
| void InspectorHeapProfilerAgent::restore()
|
|
|