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

Unified Diff: chrome/browser/component_updater/component_patcher_operation_out_of_process_browsertest.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/component_patcher_operation_out_of_process_browsertest.cc
diff --git a/chrome/browser/component_updater/component_patcher_operation_out_of_process_browsertest.cc b/chrome/browser/component_updater/component_patcher_operation_out_of_process_browsertest.cc
index 4e24d407d3135274b7d6c9c028f54f788e4d0f7a..6267bfb91879f0f70917669bd9b9c2a865b33c02 100644
--- a/chrome/browser/component_updater/component_patcher_operation_out_of_process_browsertest.cc
+++ b/chrome/browser/component_updater/component_patcher_operation_out_of_process_browsertest.cc
@@ -44,8 +44,7 @@ class OutOfProcessPatchTest : public InProcessBrowserTest {
base::RunLoop run_loop;
base::PostTaskWithTraitsAndReply(
- FROM_HERE, base::TaskTraits().MayBlock().WithPriority(
- base::TaskPriority::BACKGROUND),
+ FROM_HERE, {base::MayBlock(), base::TaskPriority::BACKGROUND},
base::Bind(&OutOfProcessPatchTest::CopyFile, TestFile(name), path),
run_loop.QuitClosure());
@@ -58,8 +57,7 @@ class OutOfProcessPatchTest : public InProcessBrowserTest {
base::RunLoop run_loop;
base::PostTaskWithTraitsAndReply(
- FROM_HERE, base::TaskTraits().MayBlock().WithPriority(
- base::TaskPriority::BACKGROUND),
+ FROM_HERE, {base::MayBlock(), base::TaskPriority::BACKGROUND},
base::Bind(&OutOfProcessPatchTest::CopyFile, TestFile(name), path),
run_loop.QuitClosure());

Powered by Google App Engine
This is Rietveld 408576698