From 7e8e6b672b783c9f9ca3bf302a3a0ea6704c34e1 Mon Sep 17 00:00:00 2001 From: "pfeldman@chromium.org" Date: Fri, 8 May 2009 11:28:32 +0000 Subject: 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 --- chrome/browser/tab_contents/tab_contents.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome/browser/tab_contents') 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(); -- cgit v1.1