Index: media/base/serial_runner.h |
diff --git a/media/base/serial_runner.h b/media/base/serial_runner.h |
index 3adfd64f730479e7b537b6b55c67a6e71f600040..e7b8a0c3ed2d276d94103c31f54fa766fd9e1922 100644 |
--- a/media/base/serial_runner.h |
+++ b/media/base/serial_runner.h |
@@ -11,7 +11,6 @@ |
#include "base/callback.h" |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/memory/weak_ptr.h" |
#include "media/base/media_export.h" |
#include "media/base/pipeline_status.h" |
@@ -64,8 +63,8 @@ class MEDIA_EXPORT SerialRunner { |
// |
// Deleting the object will prevent execution of any unstarted bound |
// functions, including |done_cb|. |
- static scoped_ptr<SerialRunner> Run( |
- const Queue& bound_fns, const PipelineStatusCB& done_cb); |
+ static std::unique_ptr<SerialRunner> Run(const Queue& bound_fns, |
+ const PipelineStatusCB& done_cb); |
private: |
friend std::default_delete<SerialRunner>; |