diff options
Diffstat (limited to 'webkit/glue/webdevtoolsagent_impl.cc')
-rw-r--r-- | webkit/glue/webdevtoolsagent_impl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/glue/webdevtoolsagent_impl.cc b/webkit/glue/webdevtoolsagent_impl.cc index 7e441b2..ae781e0 100644 --- a/webkit/glue/webdevtoolsagent_impl.cc +++ b/webkit/glue/webdevtoolsagent_impl.cc @@ -54,6 +54,7 @@ WebDevToolsAgentImpl::WebDevToolsAgentImpl( debugger_agent_delegate_stub_.set(new DebuggerAgentDelegateStub(this)); dom_agent_delegate_stub_.set(new DomAgentDelegateStub(this)); tools_agent_delegate_stub_.set(new ToolsAgentDelegateStub(this)); + tools_agent_native_delegate_stub_.set(new ToolsAgentNativeDelegateStub(this)); } WebDevToolsAgentImpl::~WebDevToolsAgentImpl() { @@ -230,7 +231,7 @@ void WebDevToolsAgentImpl::GetResourceContent( RefPtr<InspectorResource> resource = page->inspectorController()->resources().get(identifier); if (resource.get()) { - tools_agent_delegate_stub_->DidGetResourceContent(call_id, + tools_agent_native_delegate_stub_->DidGetResourceContent(call_id, resource->sourceString()); } } |