diff options
author | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-19 22:24:50 +0000 |
---|---|---|
committer | jar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-19 22:24:50 +0000 |
commit | 6df4074a8f9ab6039c7cb8807b61b52599d14040 (patch) | |
tree | 12cfef7094b77c34f5d0590e5e8546b6be5fcc93 /base/histogram.cc | |
parent | c1f844dd22d6d2ca74e2d576070f66928737d5cd (diff) | |
download | chromium_src-6df4074a8f9ab6039c7cb8807b61b52599d14040.zip chromium_src-6df4074a8f9ab6039c7cb8807b61b52599d14040.tar.gz chromium_src-6df4074a8f9ab6039c7cb8807b61b52599d14040.tar.bz2 |
Fix a bunch of tiny near-bugs and bugs that static analysis identified
r=mbelshe,brettw
Review URL: http://codereview.chromium.org/50014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12166 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/histogram.cc')
-rw-r--r-- | base/histogram.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/histogram.cc b/base/histogram.cc index bdf7f9a..9184926e 100644 --- a/base/histogram.cc +++ b/base/histogram.cc @@ -640,7 +640,7 @@ void ThreadSafeHistogram::Accumulate(Sample value, Count count, size_t index) { Histogram::Accumulate(value, count, index); } -void ThreadSafeHistogram::SnapshotSample(SampleSet* sample) { +void ThreadSafeHistogram::SnapshotSample(SampleSet* sample) const { AutoLock lock(lock_); Histogram::SnapshotSample(sample); }; |