summaryrefslogtreecommitdiffstats
path: root/chrome/browser/metrics_service.cc
diff options
context:
space:
mode:
authorjar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-24 00:22:41 +0000
committerjar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-24 00:22:41 +0000
commit29463878184e9377f900771f7a05c4ed57288d6e (patch)
tree7ff71f86b90d7c5f3b08f73057a4fc9703fc01a6 /chrome/browser/metrics_service.cc
parentc44ea382076775e70862d1b94d95435212049a4b (diff)
downloadchromium_src-29463878184e9377f900771f7a05c4ed57288d6e.zip
chromium_src-29463878184e9377f900771f7a05c4ed57288d6e.tar.gz
chromium_src-29463878184e9377f900771f7a05c4ed57288d6e.tar.bz2
Null out member so that it will be properly reset in StartLogging()
r=petersont Review URL: http://codereview.chromium.org/4242 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2536 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/metrics_service.cc')
-rw-r--r--chrome/browser/metrics_service.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/metrics_service.cc b/chrome/browser/metrics_service.cc
index f01494b..d40f078 100644
--- a/chrome/browser/metrics_service.cc
+++ b/chrome/browser/metrics_service.cc
@@ -648,6 +648,7 @@ void MetricsService::StopRecording(MetricsLog** log) {
current_log_->num_events());
current_log_->CloseLog();
delete current_log_;
+ current_log_ = NULL;
StartRecording(); // Start trivial log to hold our histograms.
}