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

Unified Diff: base/test/test_pending_task.cc

Issue 2637843002: Migrate base::TaskRunner from Closure to OnceClosure (Closed)
Patch Set: rebase without dcheck_in_ref_count Created 3 years, 9 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: base/test/test_pending_task.cc
diff --git a/base/test/test_pending_task.cc b/base/test/test_pending_task.cc
index 63bdfffacd681bdc67a985d42e660fe6c361573f..3f71a9988fc0074db3c149f0f8a7fdafb0123f0c 100644
--- a/base/test/test_pending_task.cc
+++ b/base/test/test_pending_task.cc
@@ -12,7 +12,7 @@ namespace base {
TestPendingTask::TestPendingTask() : nestability(NESTABLE) {}
TestPendingTask::TestPendingTask(const tracked_objects::Location& location,
- Closure task,
+ OnceClosure task,
TimeTicks post_time,
TimeDelta delay,
TestNestability nestability)

Powered by Google App Engine
This is Rietveld 408576698