| Index: base/tracked_objects.cc
|
| diff --git a/base/tracked_objects.cc b/base/tracked_objects.cc
|
| index f7ee6da2eff7729fa21684c4a771ca59002dea10..5359d892116577750cacff82a8522322c0b0b04b 100644
|
| --- a/base/tracked_objects.cc
|
| +++ b/base/tracked_objects.cc
|
| @@ -227,10 +227,6 @@ int Births::birth_count() const { return birth_count_; }
|
|
|
| void Births::RecordBirth() { ++birth_count_; }
|
|
|
| -void Births::ForgetBirth() { --birth_count_; }
|
| -
|
| -void Births::Clear() { birth_count_ = 0; }
|
| -
|
| //------------------------------------------------------------------------------
|
| // ThreadData maintains the central data for all births and deaths on a single
|
| // thread.
|
| @@ -654,26 +650,6 @@ void ThreadData::SnapshotMaps(BirthMap* birth_map,
|
| parent_child_set->insert(*it);
|
| }
|
|
|
| -// static
|
| -void ThreadData::ResetAllThreadData() {
|
| - ThreadData* my_list = first();
|
| -
|
| - for (ThreadData* thread_data = my_list;
|
| - thread_data;
|
| - thread_data = thread_data->next())
|
| - thread_data->Reset();
|
| -}
|
| -
|
| -void ThreadData::Reset() {
|
| - base::AutoLock lock(map_lock_);
|
| - for (DeathMap::iterator it = death_map_.begin();
|
| - it != death_map_.end(); ++it)
|
| - it->second.Clear();
|
| - for (BirthMap::iterator it = birth_map_.begin();
|
| - it != birth_map_.end(); ++it)
|
| - it->second->Clear();
|
| -}
|
| -
|
| static void OptionallyInitializeAlternateTimer() {
|
| NowFunction* alternate_time_source = GetAlternateTimeSource();
|
| if (alternate_time_source)
|
|
|