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..2dcccadde69eb0f664f3cbef8c5f92b52c420a17 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> method_runner_; |
James Hawkins
2011/11/14 17:57:06
weak_factory_
dcheng
2011/11/14 20:47:49
Done.
|
// True if the resource dispatcher host has been shut down. |
bool is_shutdown_; |