summaryrefslogtreecommitdiffstats
path: root/cc/debug
diff options
context:
space:
mode:
authorjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-17 21:49:59 +0000
committerjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-17 21:49:59 +0000
commitd0cbf7f2a67bc28502648a864299e350caef30c9 (patch)
treea3e62f672c291f200c0e1f4e6a63239a0f3486b3 /cc/debug
parente375fd7967300c726c4690a5f8b97b8d5bc3a66c (diff)
downloadchromium_src-d0cbf7f2a67bc28502648a864299e350caef30c9.zip
chromium_src-d0cbf7f2a67bc28502648a864299e350caef30c9.tar.gz
chromium_src-d0cbf7f2a67bc28502648a864299e350caef30c9.tar.bz2
Fix event_count calculation.
This should be = now. TBR=nduca@chromium.org BUG= Review URL: https://codereview.chromium.org/14161019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194696 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/debug')
-rw-r--r--cc/debug/latency_info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/debug/latency_info.cc b/cc/debug/latency_info.cc
index 0664dfb..d76be74 100644
--- a/cc/debug/latency_info.cc
+++ b/cc/debug/latency_info.cc
@@ -48,7 +48,7 @@ void LatencyInfo::AddLatencyNumberWithTimestamp(
// into this method.
f->second.event_time += (time - f->second.event_time) * event_count /
new_count;
- f->second.event_count += new_count;
+ f->second.event_count = new_count;
}
}
}