summaryrefslogtreecommitdiffstats
path: root/base/metrics
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-11 16:02:35 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-11 16:02:35 +0000
commitffeb154342de3593288afcd6a1ca90043e299b48 (patch)
tree98787b4a1364592596780cda9f485e36d9bddd88 /base/metrics
parent4e7f6ad8b71811c540b1e085b47f259ffc2249be (diff)
downloadchromium_src-ffeb154342de3593288afcd6a1ca90043e299b48.zip
chromium_src-ffeb154342de3593288afcd6a1ca90043e299b48.tar.gz
chromium_src-ffeb154342de3593288afcd6a1ca90043e299b48.tar.bz2
Initialize StatsTable::Private members.
BUG=None TEST=None CID=13412 Review URL: http://codereview.chromium.org/6483011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74594 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/metrics')
-rw-r--r--base/metrics/stats_table.cc11
1 files changed, 9 insertions, 2 deletions
diff --git a/base/metrics/stats_table.cc b/base/metrics/stats_table.cc
index bae2c96..cfc1da1 100644
--- a/base/metrics/stats_table.cc
+++ b/base/metrics/stats_table.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -136,7 +136,14 @@ class StatsTable::Private {
private:
// Constructor is private because you should use New() instead.
- Private() {}
+ Private()
+ : table_header_(NULL),
+ thread_names_table_(NULL),
+ thread_tid_table_(NULL),
+ thread_pid_table_(NULL),
+ counter_names_table_(NULL),
+ data_table_(NULL) {
+ }
// Initializes the table on first access. Sets header values
// appropriately and zeroes all counters.