| Index: content/common/resource_dispatcher.h
|
| diff --git a/content/common/resource_dispatcher.h b/content/common/resource_dispatcher.h
|
| index 220028218244e75d4746401ae601d7937bdd1ff3..6cc715717bca102d4a9565183a87322daef4ed3c 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> weak_factory_;
|
|
|
| content::ResourceDispatcherDelegate* delegate_;
|
|
|
|
|