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

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

Issue 2637843002: Migrate base::TaskRunner from Closure to OnceClosure (Closed)
Patch Set: rebase without dcheck_in_ref_count 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
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 f03f5ff9706e1993d0b15ef02554ec412dcae9fa..5dd3db10fa9bb69176978d2840def657e89ebdf2 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));
}

Powered by Google App Engine
This is Rietveld 408576698