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

Unified Diff: content/public/child/worker_thread.h

Issue 2726523002: Pass Callback to TaskRunner by value and consume it on invocation (1) (Closed)
Patch Set: erase Closure* Created 3 years, 9 months 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
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | content/renderer/categorized_worker_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/child/worker_thread.h
diff --git a/content/public/child/worker_thread.h b/content/public/child/worker_thread.h
index 983f09a4fd2ea5566f10e8624362b5afc539c81d..c35ce8bd243b2d7356cb2a1816527490b28e9db5 100644
--- a/content/public/child/worker_thread.h
+++ b/content/public/child/worker_thread.h
@@ -42,7 +42,7 @@ class CONTENT_EXPORT WorkerThread {
static int GetCurrentId();
// Posts a task to the worker thread with ID |id|. ID must be > 0.
- static void PostTask(int id, const base::Closure& task);
+ static void PostTask(int id, base::Closure task);
private:
WorkerThread(){};
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | content/renderer/categorized_worker_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698