From 652f5ff5aa1c3592d61a310edc680bf92cf9f57b Mon Sep 17 00:00:00 2001 From: dcheng Date: Sun, 27 Dec 2015 00:54:00 -0800 Subject: =?UTF-8?q?Convert=20Pass()=E2=86=92std::move()=20in=20//media?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ☃ BUG=557422 R=avi@chromium.org TBR=jrummell@chromium.org Review URL: https://codereview.chromium.org/1544313002 Cr-Commit-Position: refs/heads/master@{#366924} --- media/cast/cast_environment.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'media/cast/cast_environment.cc') 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 + #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() {} -- cgit v1.1