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

Unified Diff: chromecast/renderer/media/media_channel_proxy.cc

Issue 1553503002: Convert Pass()→std::move() in //chromecast (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 | « chromecast/renderer/media/cma_renderer.cc ('k') | chromecast/renderer/media/media_pipeline_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/renderer/media/media_channel_proxy.cc
diff --git a/chromecast/renderer/media/media_channel_proxy.cc b/chromecast/renderer/media/media_channel_proxy.cc
index 2ef1d251d9255843c77e16b4287c916797f578ef..cbbcdafa00d09d9b0868010580c384b2540dc811 100644
--- a/chromecast/renderer/media/media_channel_proxy.cc
+++ b/chromecast/renderer/media/media_channel_proxy.cc
@@ -4,6 +4,8 @@
#include "chromecast/renderer/media/media_channel_proxy.h"
+#include <utility>
+
#include "base/logging.h"
#include "chromecast/common/media/cma_messages.h"
@@ -72,8 +74,8 @@ bool MediaChannelProxy::SetVideoDelegate(
bool MediaChannelProxy::Send(scoped_ptr<IPC::Message> message) {
if (!is_open_)
return false;
- return filter_->Send(message.Pass());
+ return filter_->Send(std::move(message));
}
} // namespace media
-} // namespace chromecast
+} // namespace chromecast
« no previous file with comments | « chromecast/renderer/media/cma_renderer.cc ('k') | chromecast/renderer/media/media_pipeline_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698