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

Unified Diff: base/test/scoped_task_scheduler.h

Issue 2861833002: Use constexpr TaskTraits constructor in base. (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 | « no previous file | base/trace_event/trace_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/scoped_task_scheduler.h
diff --git a/base/test/scoped_task_scheduler.h b/base/test/scoped_task_scheduler.h
index 785443954b56e34097c3b0ec94f37dffaabdee1b..010b39e2af40fb8a28b0a22053471a7d20b88c10 100644
--- a/base/test/scoped_task_scheduler.h
+++ b/base/test/scoped_task_scheduler.h
@@ -41,8 +41,7 @@ namespace test {
// base::PostTask(FROM_HERE, base::Bind(&RunLoop::Quit, &run_loop));
// base::PostTask(FROM_HERE, base::Bind(&C));
// base::PostTaskWithTraits(
-// base::TaskTraits().WithShutdownBehavior(
-// base::TaskShutdownBehavior::BLOCK_SHUTDOWN),
+// {base::TaskShutdownBehavior::BLOCK_SHUTDOWN},
// base::Bind(&D));
// run_loop.Run(); // Returns after running B and RunLoop::Quit.
//
« no previous file with comments | « no previous file | base/trace_event/trace_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698