summaryrefslogtreecommitdiffstats
path: root/media/blink/texttrack_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/blink/texttrack_impl.cc')
-rw-r--r--media/blink/texttrack_impl.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/media/blink/texttrack_impl.cc b/media/blink/texttrack_impl.cc
index 1d58af9..dbe9762 100644
--- a/media/blink/texttrack_impl.cc
+++ b/media/blink/texttrack_impl.cc
@@ -4,6 +4,8 @@
#include "media/blink/texttrack_impl.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/location.h"
#include "base/single_thread_task_runner.h"
@@ -20,7 +22,7 @@ TextTrackImpl::TextTrackImpl(
scoped_ptr<WebInbandTextTrackImpl> text_track)
: task_runner_(task_runner),
client_(client),
- text_track_(text_track.Pass()) {
+ text_track_(std::move(text_track)) {
client_->addTextTrack(text_track_.get());
}