Index: jingle/notifier/base/proxy_resolving_client_socket.h |
diff --git a/jingle/notifier/base/proxy_resolving_client_socket.h b/jingle/notifier/base/proxy_resolving_client_socket.h |
index 0cdd53388f12b5bec6c252a9dbb1ce6b115eeaa5..5ed22162dba5f6825909688b5255a5cc0ca27eb4 100644 |
--- a/jingle/notifier/base/proxy_resolving_client_socket.h |
+++ b/jingle/notifier/base/proxy_resolving_client_socket.h |
@@ -11,6 +11,7 @@ |
#include "base/basictypes.h" |
#include "base/memory/ref_counted.h" |
+#include "base/memory/weak_ptr.h" |
#include "net/base/completion_callback.h" |
#include "net/base/host_port_pair.h" |
#include "net/base/net_errors.h" |
@@ -90,8 +91,7 @@ class ProxyResolvingClientSocket : public net::StreamSocket { |
net::HostPortPair dest_host_port_pair_; |
bool tried_direct_connect_fallback_; |
net::BoundNetLog bound_net_log_; |
- ScopedRunnableMethodFactory<ProxyResolvingClientSocket> |
- scoped_runnable_method_factory_; |
+ base::WeakPtrFactory<ProxyResolvingClientSocket> weak_factory_; |
// The callback passed to Connect(). |
net::OldCompletionCallback* user_connect_callback_; |