summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/page_load_histograms.cc
diff options
context:
space:
mode:
authortonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-09 01:32:36 +0000
committertonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-09 01:32:36 +0000
commit816faf6fb462797cdda1f6d430598a59db8046e9 (patch)
treec8468011b073e65d7433b45b531b347342ea3c96 /chrome/renderer/page_load_histograms.cc
parentac344c8a6cbe24b418a1610c9829767ce445665e (diff)
downloadchromium_src-816faf6fb462797cdda1f6d430598a59db8046e9.zip
chromium_src-816faf6fb462797cdda1f6d430598a59db8046e9.tar.gz
chromium_src-816faf6fb462797cdda1f6d430598a59db8046e9.tar.bz2
Fix typo introduced in r56164. This caused PLT histograms to only be saved
in abandonment cases. BUG=None TEST=None git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65459 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/page_load_histograms.cc')
-rw-r--r--chrome/renderer/page_load_histograms.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/page_load_histograms.cc b/chrome/renderer/page_load_histograms.cc
index 01f0566..bd861b0 100644
--- a/chrome/renderer/page_load_histograms.cc
+++ b/chrome/renderer/page_load_histograms.cc
@@ -94,7 +94,7 @@ void PageLoadHistograms::Dump(WebFrame* frame) {
navigation_state->set_finish_load_time(finish_all_loads);
} else {
DCHECK(!abandoned_page); // How can the doc have finished but not the page?
- if (!abandoned_page)
+ if (abandoned_page)
return; // Don't try to record a stat which is broken.
}