Index: media/base/renderer_factory.h |
diff --git a/media/base/renderer_factory.h b/media/base/renderer_factory.h |
index 65c5cbee6936c6d44509198e1361c7a3c32221c0..f0a375fc35f478c0412583eb95f3ab38f7ea3c75 100644 |
--- a/media/base/renderer_factory.h |
+++ b/media/base/renderer_factory.h |
@@ -5,9 +5,10 @@ |
#ifndef MEDIA_BASE_RENDERER_FACTORY_H_ |
#define MEDIA_BASE_RENDERER_FACTORY_H_ |
+#include <memory> |
+ |
#include "base/macros.h" |
#include "base/memory/ref_counted.h" |
-#include "base/memory/scoped_ptr.h" |
#include "media/base/media_export.h" |
#include "media/base/renderer.h" |
#include "media/base/surface_manager.h" |
@@ -33,7 +34,7 @@ class MEDIA_EXPORT RendererFactory { |
// GetMediaTime() could be called on any thread. |
// The created Renderer can use |audio_renderer_sink| to render audio and |
// |video_renderer_sink| to render video. |
- virtual scoped_ptr<Renderer> CreateRenderer( |
+ virtual std::unique_ptr<Renderer> CreateRenderer( |
const scoped_refptr<base::SingleThreadTaskRunner>& media_task_runner, |
const scoped_refptr<base::TaskRunner>& worker_task_runner, |
AudioRendererSink* audio_renderer_sink, |