summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.cc
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-13 14:20:15 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-13 14:20:15 +0000
commit8c785c6f0110c9109af284db78156b0b0998a5b5 (patch)
treee4aeae8234a51c30d5309e9af5d738b9d6bc957b /chrome/renderer/render_view.cc
parent3061ccf369ee2642d4d18ac396b6758acebc3509 (diff)
downloadchromium_src-8c785c6f0110c9109af284db78156b0b0998a5b5.zip
chromium_src-8c785c6f0110c9109af284db78156b0b0998a5b5.tar.gz
chromium_src-8c785c6f0110c9109af284db78156b0b0998a5b5.tar.bz2
DevTools: allow reload while on a breakpoint: detach agent on navigation attempt.
BUG=16606 Review URL: http://codereview.chromium.org/149529 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20480 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.cc')
-rw-r--r--chrome/renderer/render_view.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc
index 7bd7c28..abe0cde 100644
--- a/chrome/renderer/render_view.cc
+++ b/chrome/renderer/render_view.cc
@@ -635,6 +635,9 @@ void RenderView::OnNavigate(const ViewMsg_Navigate_Params& params) {
if (!webview())
return;
+ if (devtools_agent_.get())
+ devtools_agent_->OnNavigate();
+
child_process_logging::ScopedActiveURLSetter url_setter(params.url);
AboutHandler::MaybeHandle(params.url);