From 6df4074a8f9ab6039c7cb8807b61b52599d14040 Mon Sep 17 00:00:00 2001 From: "jar@chromium.org" Date: Thu, 19 Mar 2009 22:24:50 +0000 Subject: 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 --- base/histogram.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/histogram.cc') 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); }; -- cgit v1.1