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

Unified Diff: base/task_scheduler/task_tracker.cc

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove redundant base:: prefix Created 4 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: base/task_scheduler/task_tracker.cc
diff --git a/base/task_scheduler/task_tracker.cc b/base/task_scheduler/task_tracker.cc
index 4f15b9e8128b5faaa7db8065193afa69058504c2..50922bbc8cf9004491bc59c1ac4d6bdbf3e1c5d3 100644
--- a/base/task_scheduler/task_tracker.cc
+++ b/base/task_scheduler/task_tracker.cc
@@ -59,8 +59,8 @@ void TaskTracker::Shutdown() {
}
void TaskTracker::PostTask(
- const Callback<void(scoped_ptr<Task>)>& post_task_callback,
- scoped_ptr<Task> task) {
+ const Callback<void(std::unique_ptr<Task>)>& post_task_callback,
+ std::unique_ptr<Task> task) {
DCHECK(!post_task_callback.is_null());
DCHECK(task);

Powered by Google App Engine
This is Rietveld 408576698