Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Unified Diff: media/blink/texttrack_impl.cc

Issue 1544313002: Convert Pass()→std::move() in //media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/blink/resource_multibuffer_data_provider.cc ('k') | media/blink/video_frame_compositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/texttrack_impl.cc
diff --git a/media/blink/texttrack_impl.cc b/media/blink/texttrack_impl.cc
index 1d58af9fb5a3e6bfc605d40170398afdcfa3a392..dbe97621ca13537809fd7704bc45763d373e7692 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());
}
« no previous file with comments | « media/blink/resource_multibuffer_data_provider.cc ('k') | media/blink/video_frame_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698