summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-08 11:28:32 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-08 11:28:32 +0000
commit7e8e6b672b783c9f9ca3bf302a3a0ea6704c34e1 (patch)
tree51c6b0ceb013dbf1f3853e901e25757d8bfe3765 /chrome
parent991b310449356ca26912506c582b4219dc8cc13f (diff)
downloadchromium_src-7e8e6b672b783c9f9ca3bf302a3a0ea6704c34e1.zip
chromium_src-7e8e6b672b783c9f9ca3bf302a3a0ea6704c34e1.tar.gz
chromium_src-7e8e6b672b783c9f9ca3bf302a3a0ea6704c34e1.tar.bz2
DevTools: Style drive by
Review URL: http://codereview.chromium.org/115124 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15633 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/tab_contents/tab_contents.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index 451d5b5..e932939 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -679,11 +679,12 @@ bool TabContents::NavigateToPendingEntry(bool reload) {
// Tell DevTools agent that it is attached prior to the navigation.
DevToolsManager* devtools_manager = g_browser_process->devtools_manager();
- if (devtools_manager) // NULL in unit tests.
+ if (devtools_manager) { // NULL in unit tests.
devtools_manager->OnNavigatingToPendingEntry(
render_view_host(),
dest_render_view_host,
controller_.pending_entry()->url());
+ }
// Used for page load time metrics.
current_load_start_ = base::TimeTicks::Now();