summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webdevtoolsagent_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webdevtoolsagent_impl.cc')
-rw-r--r--webkit/glue/webdevtoolsagent_impl.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/glue/webdevtoolsagent_impl.cc b/webkit/glue/webdevtoolsagent_impl.cc
index 592db96..f617220 100644
--- a/webkit/glue/webdevtoolsagent_impl.cc
+++ b/webkit/glue/webdevtoolsagent_impl.cc
@@ -151,6 +151,10 @@ void WebDevToolsAgentImpl::DidCommitLoadForFrame(
tools_agent_delegate_stub_->FrameNavigate(
url.possibly_invalid_spec(),
webview->GetMainFrame() == frame);
+ InspectorController* ic = webview->page()->inspectorController();
+ // Unhide resources panel if necessary.
+ tools_agent_delegate_stub_->SetResourcesPanelEnabled(
+ ic->resourceTrackingEnabled());
}
void WebDevToolsAgentImpl::WindowObjectCleared(WebFrameImpl* webframe) {