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

Unified Diff: chrome/browser/component_updater/ev_whitelist_component_installer.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/component_updater/ev_whitelist_component_installer.cc
diff --git a/chrome/browser/component_updater/ev_whitelist_component_installer.cc b/chrome/browser/component_updater/ev_whitelist_component_installer.cc
index 0f4f0a0f227522c4f01c4d90d353eda27e5feebb..f5effcb789b4bbc9e850812c96dd0e91bb916a1f 100644
--- a/chrome/browser/component_updater/ev_whitelist_component_installer.cc
+++ b/chrome/browser/component_updater/ev_whitelist_component_installer.cc
@@ -108,8 +108,7 @@ void EVWhitelistComponentInstallerTraits::ComponentReady(
<< install_dir.value();
base::PostTaskWithTraits(FROM_HERE,
- base::TaskTraits().MayBlock().WithPriority(
- base::TaskPriority::BACKGROUND),
+ {base::MayBlock(), base::TaskPriority::BACKGROUND},
base::Bind(&LoadWhitelistFromDisk,
GetInstalledPath(install_dir), version));
}

Powered by Google App Engine
This is Rietveld 408576698