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

Unified Diff: base/observer_list_unittest.cc

Issue 2859053006: Use constexpr TaskTraits constructor in base (part 2). (Closed)
Patch Set: self-review Created 3 years, 7 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 | « no previous file | base/process/kill_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/observer_list_unittest.cc
diff --git a/base/observer_list_unittest.cc b/base/observer_list_unittest.cc
index d0248c90faf1bf39847690b67d04fd9635393bb2..d2c3493179b1af0344ac9e0f0534dae1df9ade15 100644
--- a/base/observer_list_unittest.cc
+++ b/base/observer_list_unittest.cc
@@ -600,7 +600,7 @@ TEST(ObserverListThreadSafeTest, RemoveWhileNotificationIsRunning) {
// TaskScheduler can safely use |barrier|.
test::ScopedTaskEnvironment scoped_task_environment;
- CreateSequencedTaskRunnerWithTraits(TaskTraits().WithBaseSyncPrimitives())
+ CreateSequencedTaskRunnerWithTraits({WithBaseSyncPrimitives()})
->PostTask(FROM_HERE,
base::Bind(&ObserverListThreadSafe<Foo>::AddObserver,
observer_list, Unretained(&observer)));
« no previous file with comments | « no previous file | base/process/kill_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698