Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(474)

Unified Diff: webkit/glue/webframeloaderclient_impl.cc

Issue 54002: Make DevTools client survive 'refresh' of the inspectable tab. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webdevtoolsagent_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webframeloaderclient_impl.cc
===================================================================
--- webkit/glue/webframeloaderclient_impl.cc (revision 12351)
+++ webkit/glue/webframeloaderclient_impl.cc (working copy)
@@ -768,6 +768,11 @@
WebViewDelegate* d = webview->delegate();
if (d)
d->DidCommitLoadForFrame(webview, webframe_, is_new_navigation);
+
+ WebDevToolsAgentImpl* tools_agent = webview->GetWebDevToolsAgentImpl();
+ if (tools_agent) {
+ tools_agent->DidCommitLoadForFrame(webview, webframe_, is_new_navigation);
+ }
}
void WebFrameLoaderClient::dispatchDidFailProvisionalLoad(
« no previous file with comments | « webkit/glue/webdevtoolsagent_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698