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

Unified Diff: content/public/browser/content_browser_client.cc

Issue 2637843002: Migrate base::TaskRunner from Closure to OnceClosure (Closed)
Patch Set: rebase Created 3 years, 8 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.h ('k') | content/public/child/worker_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_browser_client.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index bf8f8fb2c4ae6324ddd9a8db1e5077c7da9d6f7e..754c5c66b89fbb468676d5d34cfb972419a45d89 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -31,7 +31,7 @@ BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts(
void ContentBrowserClient::PostAfterStartupTask(
const tracked_objects::Location& from_here,
const scoped_refptr<base::TaskRunner>& task_runner,
- base::Closure task) {
+ base::OnceClosure task) {
task_runner->PostTask(from_here, std::move(task));
}
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/child/worker_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698