Chromium Code Reviews| Index: content/worker/webworkerclient_proxy.h |
| diff --git a/content/worker/webworkerclient_proxy.h b/content/worker/webworkerclient_proxy.h |
| index dc24e24a3183921d375a73244ebf4c0c3b24f242..6e3dc6dbe8733a91c012b3c9030ba5c714a0e09b 100644 |
| --- a/content/worker/webworkerclient_proxy.h |
| +++ b/content/worker/webworkerclient_proxy.h |
| @@ -7,7 +7,7 @@ |
| #pragma once |
| #include "base/basictypes.h" |
| -#include "base/task.h" |
| +#include "base/memory/weak_ptr.h" |
| #include "ipc/ipc_channel.h" |
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.h" |
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebWorkerClient.h" |
| @@ -94,7 +94,7 @@ class WebWorkerClientProxy : public WebKit::WebWorkerClient { |
| int route_id_; |
| int appcache_host_id_; |
| WebSharedWorkerStub* stub_; |
| - ScopedRunnableMethodFactory<WebWorkerClientProxy> kill_process_factory_; |
| + base::WeakPtrFactory<WebWorkerClientProxy> kill_process_factory_; |
|
James Hawkins
2011/11/14 17:57:06
weak_factory_
dcheng
2011/11/14 20:47:49
Done.
|
| SharedWorkerDevToolsAgent* devtools_agent_; |
| DISALLOW_COPY_AND_ASSIGN(WebWorkerClientProxy); |