Index: chromecast/base/bind_to_task_runner.h |
diff --git a/chromecast/base/bind_to_task_runner.h b/chromecast/base/bind_to_task_runner.h |
index 822ced7d78b6b48567c5ec6c65cd4aa8c2628bc8..8902be261a5a118dafb380232d39375b757d7c93 100644 |
--- a/chromecast/base/bind_to_task_runner.h |
+++ b/chromecast/base/bind_to_task_runner.h |
@@ -5,12 +5,13 @@ |
#ifndef CHROMECAST_BASE_BIND_TO_TASK_RUNNER_H_ |
#define CHROMECAST_BASE_BIND_TO_TASK_RUNNER_H_ |
+#include <memory> |
+ |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
#include "base/callback.h" |
#include "base/location.h" |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/memory/scoped_vector.h" |
#include "base/task_runner.h" |
#include "base/thread_task_runner_handle.h" |
@@ -42,8 +43,8 @@ T& TrampolineForward(T& t) { |
} |
template <typename T, typename R> |
-base::internal::PassedWrapper<scoped_ptr<T, R>> TrampolineForward( |
- scoped_ptr<T, R>& p) { |
+base::internal::PassedWrapper<std::unique_ptr<T, R>> TrampolineForward( |
+ std::unique_ptr<T, R>& p) { |
return base::Passed(&p); |
} |