summaryrefslogtreecommitdiffstats
path: root/media/cast/cast_environment.cc
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2015-12-27 00:54:00 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-27 08:54:53 +0000
commit652f5ff5aa1c3592d61a310edc680bf92cf9f57b (patch)
treeb9d734a460575b5de93ad0bee4204b1cf628a714 /media/cast/cast_environment.cc
parenta3fa7abe73f7bd52b3333f8da4ba5c2333b4f78f (diff)
downloadchromium_src-652f5ff5aa1c3592d61a310edc680bf92cf9f57b.zip
chromium_src-652f5ff5aa1c3592d61a310edc680bf92cf9f57b.tar.gz
chromium_src-652f5ff5aa1c3592d61a310edc680bf92cf9f57b.tar.bz2
Convert Pass()→std::move() in //media
☃ BUG=557422 R=avi@chromium.org TBR=jrummell@chromium.org Review URL: https://codereview.chromium.org/1544313002 Cr-Commit-Position: refs/heads/master@{#366924}
Diffstat (limited to 'media/cast/cast_environment.cc')
-rw-r--r--media/cast/cast_environment.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/media/cast/cast_environment.cc b/media/cast/cast_environment.cc
index e3def4f..ea1f2ac 100644
--- a/media/cast/cast_environment.cc
+++ b/media/cast/cast_environment.cc
@@ -4,6 +4,8 @@
#include "media/cast/cast_environment.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/location.h"
#include "base/logging.h"
@@ -21,7 +23,7 @@ CastEnvironment::CastEnvironment(
: main_thread_proxy_(main_thread_proxy),
audio_thread_proxy_(audio_thread_proxy),
video_thread_proxy_(video_thread_proxy),
- clock_(clock.Pass()),
+ clock_(std::move(clock)),
logger_(this) {}
CastEnvironment::~CastEnvironment() {}