Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1707)

Unified Diff: content/worker/webworkerclient_proxy.h

Issue 8556001: Convert NewRunnableFunction/NewRunnableMethod calls to use base::Bind(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698