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

Unified Diff: chrome/browser/chromeos/first_run/goodies_displayer.cc

Issue 2858073002: Use constexpr TaskTraits constructor in chrome. (Closed)
Patch Set: 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
Index: chrome/browser/chromeos/first_run/goodies_displayer.cc
diff --git a/chrome/browser/chromeos/first_run/goodies_displayer.cc b/chrome/browser/chromeos/first_run/goodies_displayer.cc
index de762cf39eee52ea302bbbe83e171dd2d0be3ead..de474ea205991136d8f88b07d1a28c324504132f 100644
--- a/chrome/browser/chromeos/first_run/goodies_displayer.cc
+++ b/chrome/browser/chromeos/first_run/goodies_displayer.cc
@@ -84,8 +84,7 @@ bool GoodiesDisplayer::Init() {
prefs::kCanShowOobeGoodiesPage);
if (can_show) {
base::PostTaskWithTraitsAndReplyWithResult(
- FROM_HERE, base::TaskTraits().MayBlock().WithPriority(
- base::TaskPriority::BACKGROUND),
+ FROM_HERE, {base::MayBlock(), base::TaskPriority::BACKGROUND},
base::Bind(&CheckGoodiesPrefAgainstOobeTimestamp),
base::Bind(&UpdateGoodiesPrefCantShow));
}
« no previous file with comments | « chrome/browser/chromeos/file_manager/zip_file_creator.cc ('k') | chrome/browser/chromeos/hats/hats_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698