Index: base/message_loop/message_pump_libevent.h |
diff --git a/base/message_loop/message_pump_libevent.h b/base/message_loop/message_pump_libevent.h |
index 3f5ad51dae91d8a7f3f7017ab3968281e6ee6ce3..8b815aea588294002662dddb2c83f873e6240d6f 100644 |
--- a/base/message_loop/message_pump_libevent.h |
+++ b/base/message_loop/message_pump_libevent.h |
@@ -7,7 +7,6 @@ |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
-#include "base/memory/weak_ptr.h" |
#include "base/message_loop/message_pump.h" |
#include "base/observer_list.h" |
#include "base/threading/thread_checker.h" |
@@ -86,7 +85,9 @@ class BASE_EXPORT MessagePumpLibevent : public MessagePump { |
event* event_; |
MessagePumpLibevent* pump_; |
Watcher* watcher_; |
- WeakPtrFactory<FileDescriptorWatcher> weak_factory_; |
+ // If this pointer is non-NULL, the pointee is set to true in the |
+ // destructor. |
+ bool* was_destroyed_; |
DISALLOW_COPY_AND_ASSIGN(FileDescriptorWatcher); |
}; |