Index: base/debug/trace_event_impl.h |
diff --git a/base/debug/trace_event_impl.h b/base/debug/trace_event_impl.h |
index f91554112257b0808186d77b6abb47cbb2a381b8..e791793e8e45591d4cd70e3b9af997a6392c085b 100644 |
--- a/base/debug/trace_event_impl.h |
+++ b/base/debug/trace_event_impl.h |
@@ -17,6 +17,7 @@ |
#include "base/gtest_prod_util.h" |
#include "base/memory/ref_counted_memory.h" |
#include "base/memory/scoped_vector.h" |
+#include "base/memory/weak_ptr.h" |
#include "base/observer_list.h" |
#include "base/strings/string_util.h" |
#include "base/synchronization/condition_variable.h" |
@@ -812,6 +813,8 @@ class BASE_EXPORT TraceLog { |
scoped_refptr<MessageLoopProxy> flush_message_loop_proxy_; |
subtle::AtomicWord generation_; |
+ base::WeakPtrFactory<TraceLog> weak_ptr_factory_; |
+ |
DISALLOW_COPY_AND_ASSIGN(TraceLog); |
}; |