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

Unified Diff: chrome/browser/pepper_flash_settings_manager.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
« no previous file with comments | « chrome/browser/password_manager/password_manager_util_win.cc ('k') | chrome/browser/platform_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/pepper_flash_settings_manager.cc
diff --git a/chrome/browser/pepper_flash_settings_manager.cc b/chrome/browser/pepper_flash_settings_manager.cc
index 67f63468962d4417bef417e0fc999d943adf99b7..6babc64defb0489bfb759190065031685a124f18 100644
--- a/chrome/browser/pepper_flash_settings_manager.cc
+++ b/chrome/browser/pepper_flash_settings_manager.cc
@@ -441,8 +441,7 @@ void PepperFlashSettingsManager::Core::DeauthorizeContentLicensesOnIOThread(
#if defined(OS_CHROMEOS)
base::PostTaskWithTraits(FROM_HERE,
- base::TaskTraits().MayBlock().WithPriority(
- base::TaskPriority::BACKGROUND),
+ {base::MayBlock(), base::TaskPriority::BACKGROUND},
base::Bind(&Core::DeauthorizeContentLicensesAsync,
this, request_id, browser_context_path_));
#else
« no previous file with comments | « chrome/browser/password_manager/password_manager_util_win.cc ('k') | chrome/browser/platform_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698