summaryrefslogtreecommitdiffstats
path: root/base/tracked.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/tracked.h')
-rw-r--r--base/tracked.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/tracked.h b/base/tracked.h
index dbcc106..f976175 100644
--- a/base/tracked.h
+++ b/base/tracked.h
@@ -108,6 +108,8 @@ class Tracked {
bool MissingBirthplace() const;
private:
+#ifdef TRACK_ALL_TASK_OBJECTS
+
// Pointer to instance were counts of objects with the same birth location
// (on the same thread) are stored.
Births* tracked_births_;
@@ -116,6 +118,8 @@ class Tracked {
// reset before the object begins it active life.
Time tracked_birth_time_;
+#endif // TRACK_ALL_TASK_OBJECTS
+
DISALLOW_COPY_AND_ASSIGN(Tracked);
};