| Index: third_party/WebKit/Source/core/inspector/InspectorRuntimeAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorRuntimeAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorRuntimeAgent.cpp
|
| index 961cdc3aa9782c6ee73eb3bc5426608a48d19ee8..29023417757019590bb4de643ee531a0f98594ad 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorRuntimeAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorRuntimeAgent.cpp
|
| @@ -57,22 +57,17 @@ InspectorRuntimeAgent::~InspectorRuntimeAgent()
|
| }
|
|
|
| // InspectorBaseAgent overrides.
|
| -void InspectorRuntimeAgent::setState(protocol::DictionaryValue* state)
|
| +void InspectorRuntimeAgent::init(InstrumentingAgents* instrumentingAgents, protocol::Frontend* baseFrontend, protocol::Dispatcher* dispatcher, protocol::DictionaryValue* state)
|
| {
|
| - InspectorBaseAgent::setState(state);
|
| + InspectorBaseAgent::init(instrumentingAgents, baseFrontend, dispatcher, state);
|
| m_v8RuntimeAgent->setInspectorState(m_state);
|
| + m_v8RuntimeAgent->setFrontend(frontend());
|
| }
|
|
|
| -void InspectorRuntimeAgent::setFrontend(protocol::Frontend* frontend)
|
| -{
|
| - InspectorBaseAgent::setFrontend(frontend);
|
| - m_v8RuntimeAgent->setFrontend(protocol::Frontend::Runtime::from(frontend));
|
| -}
|
| -
|
| -void InspectorRuntimeAgent::clearFrontend()
|
| +void InspectorRuntimeAgent::dispose()
|
| {
|
| m_v8RuntimeAgent->clearFrontend();
|
| - InspectorBaseAgent::clearFrontend();
|
| + InspectorBaseAgent::dispose();
|
| }
|
|
|
| void InspectorRuntimeAgent::restore()
|
|
|