Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3976)

Unified Diff: base/tracked.cc

Issue 7029038: Remove default initializtion of BirthPlace in Tracked. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright fix Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/tracked_objects_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/tracked.cc
diff --git a/base/tracked.cc b/base/tracked.cc
index 0a246aea14bac25d79398eb074fd11d2a310f60b..08c38a7276fdbe713a75a266e32c8befa6493eb2 100644
--- a/base/tracked.cc
+++ b/base/tracked.cc
@@ -107,9 +107,6 @@ void Tracked::ResetBirthTime() {}
Tracked::Tracked()
: tracked_births_(NULL),
tracked_birth_time_(TimeTicks::Now()) {
- if (!ThreadData::IsActive())
- return;
- SetBirthPlace(Location("NoFunctionName", "NeedToSetBirthPlace", -1, NULL));
}
Tracked::~Tracked() {
« no previous file with comments | « no previous file | base/tracked_objects_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698