Index: base/tracked_objects.cc |
diff --git a/base/tracked_objects.cc b/base/tracked_objects.cc |
index a3c125b87784391ae7889d98381806841963210b..4831e4a484dbfb2d9e8db76d827ad4e22924e768 100644 |
--- a/base/tracked_objects.cc |
+++ b/base/tracked_objects.cc |
@@ -91,6 +91,8 @@ ThreadData::Status ThreadData::status_ = ThreadData::UNINITIALIZED; |
ThreadData::ThreadData() : next_(NULL), message_loop_(MessageLoop::current()) {} |
+ThreadData::~ThreadData() {} |
+ |
// static |
ThreadData* ThreadData::current() { |
if (!tls_index_.initialized()) |
@@ -584,6 +586,9 @@ DataCollector::DataCollector() { |
} |
} |
+DataCollector::~DataCollector() { |
+} |
+ |
void DataCollector::Append(const ThreadData& thread_data) { |
// Get copy of data (which is done under ThreadData's lock). |
ThreadData::BirthMap birth_map; |
@@ -627,6 +632,13 @@ void DataCollector::AddListOfLivingObjects() { |
//------------------------------------------------------------------------------ |
// Aggregation |
+Aggregation::Aggregation() |
+ : birth_count_(0) { |
+} |
+ |
+Aggregation::~Aggregation() { |
+} |
+ |
void Aggregation::AddDeathSnapshot(const Snapshot& snapshot) { |
AddBirth(snapshot.birth()); |
death_threads_[snapshot.death_thread()]++; |