Chromium Code Reviews| Index: content/common/resource_dispatcher.h |
| diff --git a/content/common/resource_dispatcher.h b/content/common/resource_dispatcher.h |
| index 220028218244e75d4746401ae601d7937bdd1ff3..312234846bd1e2abfeca4fe653fc5b8c4959afbc 100644 |
| --- a/content/common/resource_dispatcher.h |
| +++ b/content/common/resource_dispatcher.h |
| @@ -13,8 +13,8 @@ |
| #include "base/hash_tables.h" |
| #include "base/memory/linked_ptr.h" |
| +#include "base/memory/weak_ptr.h" |
| #include "base/shared_memory.h" |
| -#include "base/task.h" |
| #include "content/common/content_export.h" |
| #include "ipc/ipc_channel.h" |
| #include "webkit/glue/resource_loader_bridge.h" |
| @@ -154,7 +154,7 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Channel::Listener { |
| // All pending requests issued to the host |
| PendingRequestList pending_requests_; |
| - ScopedRunnableMethodFactory<ResourceDispatcher> method_factory_; |
| + base::WeakPtrFactory<ResourceDispatcher> method_factory_; |
|
James Hawkins
2011/11/14 17:57:06
weak_factory_
dcheng
2011/11/14 20:47:49
Done.
|
| content::ResourceDispatcherDelegate* delegate_; |