Index: base/tracked_objects.h |
diff --git a/base/tracked_objects.h b/base/tracked_objects.h |
index 13e1f7519e8e59ec2077357b0533e9fab05ecef8..a4e971db86d4de05d8707548528e29cbc19a612d 100644 |
--- a/base/tracked_objects.h |
+++ b/base/tracked_objects.h |
@@ -421,7 +421,7 @@ class BASE_EXPORT ThreadData { |
const TrackedTime& start_of_run, |
const TrackedTime& end_of_run); |
- const std::string thread_name() const; |
+ const std::string& thread_name() const { return thread_name_; } |
// Hack: asynchronously clear all birth counts and death tallies data values |
// in all ThreadData instances. The numerical (zeroing) part is done without |