Index: ipc/ipc_channel_win.h |
diff --git a/ipc/ipc_channel_win.h b/ipc/ipc_channel_win.h |
index ada88ac3c0e4a82658bbde8afd12c9b6b0dae748..77bc119bc197c28e13f86aef10c1c77f91f6db79 100644 |
--- a/ipc/ipc_channel_win.h |
+++ b/ipc/ipc_channel_win.h |
@@ -12,6 +12,7 @@ |
#include <string> |
#include "base/memory/scoped_ptr.h" |
+#include "base/memory/weak_ptr.h" |
#include "base/message_loop.h" |
namespace base { |
@@ -79,7 +80,7 @@ class Channel::ChannelImpl : public MessageLoopForIO::IOHandler { |
// problems. TODO(darin): make this unnecessary |
bool processing_incoming_; |
- ScopedRunnableMethodFactory<ChannelImpl> factory_; |
+ base::WeakPtrFactory<ChannelImpl> weak_factory_; |
scoped_ptr<base::NonThreadSafe> thread_check_; |