Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Unified Diff: base/histogram.cc

Issue 50014: Fix a bunch of tiny near-bugs and bugs that static analysis identified... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/histogram.h ('k') | base/stats_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/histogram.cc
===================================================================
--- base/histogram.cc (revision 12136)
+++ base/histogram.cc (working copy)
@@ -640,7 +640,7 @@
Histogram::Accumulate(value, count, index);
}
-void ThreadSafeHistogram::SnapshotSample(SampleSet* sample) {
+void ThreadSafeHistogram::SnapshotSample(SampleSet* sample) const {
AutoLock lock(lock_);
Histogram::SnapshotSample(sample);
};
« no previous file with comments | « base/histogram.h ('k') | base/stats_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698