Index: media/base/text_track.h |
diff --git a/media/base/text_track.h b/media/base/text_track.h |
index 0e04a0eb46dab94db2290c73df6cf4b3f6293492..97dbd75267f44fd30c6e6ca4165bb619f3c83c91 100644 |
--- a/media/base/text_track.h |
+++ b/media/base/text_track.h |
@@ -5,10 +5,10 @@ |
#ifndef MEDIA_BASE_TEXT_TRACK_H_ |
#define MEDIA_BASE_TEXT_TRACK_H_ |
+#include <memory> |
#include <string> |
#include "base/callback.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/time/time.h" |
namespace media { |
@@ -25,8 +25,7 @@ class TextTrack { |
const std::string& settings) = 0; |
}; |
-typedef base::Callback<void |
- (scoped_ptr<TextTrack>)> AddTextTrackDoneCB; |
+typedef base::Callback<void(std::unique_ptr<TextTrack>)> AddTextTrackDoneCB; |
dcheng
2016/04/23 00:57:23
using, possibly
danakj
2016/04/23 01:11:15
Done.
|
typedef base::Callback<void |
(const TextTrackConfig& config, |