Index: content/browser/renderer_host/resource_dispatcher_host.h |
diff --git a/content/browser/renderer_host/resource_dispatcher_host.h b/content/browser/renderer_host/resource_dispatcher_host.h |
index 79d33e489f3bf1bed5a8caa4a0c7e026a24cc241..f56338f2377110877664b70d607b5a0311cf877e 100644 |
--- a/content/browser/renderer_host/resource_dispatcher_host.h |
+++ b/content/browser/renderer_host/resource_dispatcher_host.h |
@@ -20,6 +20,7 @@ |
#include "base/basictypes.h" |
#include "base/gtest_prod_util.h" |
#include "base/memory/scoped_ptr.h" |
+#include "base/memory/weak_ptr.h" |
#include "base/time.h" |
#include "base/timer.h" |
#include "content/browser/download/download_resource_handler.h" |
@@ -469,7 +470,7 @@ class CONTENT_EXPORT ResourceDispatcherHost : public net::URLRequest::Delegate { |
int request_id_; |
// For running tasks. |
- ScopedRunnableMethodFactory<ResourceDispatcherHost> method_runner_; |
+ base::WeakPtrFactory<ResourceDispatcherHost> weak_factory_; |
// True if the resource dispatcher host has been shut down. |
bool is_shutdown_; |