summaryrefslogtreecommitdiffstats
path: root/chrome/browser/metrics
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-01 22:23:59 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-01 22:23:59 +0000
commite9adedb63682c92fd2ff3a71c5436086458c4677 (patch)
tree7396b224f7cf629a4864c68543bb955faa718700 /chrome/browser/metrics
parent8453db9e1637694473174cb22beebd766bd448bf (diff)
downloadchromium_src-e9adedb63682c92fd2ff3a71c5436086458c4677.zip
chromium_src-e9adedb63682c92fd2ff3a71c5436086458c4677.tar.gz
chromium_src-e9adedb63682c92fd2ff3a71c5436086458c4677.tar.bz2
Fix DCHECK that was firing in metrics service in debug builds. This particular case was harmless with no underlying bugs.
BUG=29085 Review URL: http://codereview.chromium.org/449068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33489 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/metrics')
-rw-r--r--chrome/browser/metrics/metrics_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/metrics/metrics_service.cc b/chrome/browser/metrics/metrics_service.cc
index 5839171..019301c 100644
--- a/chrome/browser/metrics/metrics_service.cc
+++ b/chrome/browser/metrics/metrics_service.cc
@@ -940,7 +940,7 @@ void MetricsService::LogTransmissionTimerDone() {
Task* task = log_sender_factory_.
NewRunnableMethod(&MetricsService::OnMemoryDetailCollectionDone);
- MetricsMemoryDetails* details = new MetricsMemoryDetails(task);
+ scoped_refptr<MetricsMemoryDetails> details = new MetricsMemoryDetails(task);
details->StartFetch();
// Collect WebCore cache information to put into a histogram.