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

Unified Diff: chromecast/renderer/media/chromecast_media_renderer_factory.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/audio_pipeline_proxy.cc ('k') | chromecast/renderer/media/cma_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/renderer/media/chromecast_media_renderer_factory.cc
diff --git a/chromecast/renderer/media/chromecast_media_renderer_factory.cc b/chromecast/renderer/media/chromecast_media_renderer_factory.cc
index b3995e896fba972ed0c7708e1afce465c6fa15ba..fe335a6973a8fb6c1869279e7c9ef1c6a320e936 100644
--- a/chromecast/renderer/media/chromecast_media_renderer_factory.cc
+++ b/chromecast/renderer/media/chromecast_media_renderer_factory.cc
@@ -4,6 +4,8 @@
#include "chromecast/renderer/media/chromecast_media_renderer_factory.h"
+#include <utility>
+
#include "chromecast/renderer/media/cma_renderer.h"
#include "chromecast/renderer/media/media_pipeline_proxy.h"
#include "content/public/renderer/render_thread.h"
@@ -32,8 +34,8 @@ scoped_ptr<::media::Renderer> ChromecastMediaRendererFactory::CreateRenderer(
content::RenderThread::Get()->GetIOMessageLoopProxy(),
cma_load_type));
scoped_ptr<CmaRenderer> cma_renderer(new CmaRenderer(
- cma_media_pipeline.Pass(), video_renderer_sink, gpu_factories_));
- return cma_renderer.Pass();
+ std::move(cma_media_pipeline), video_renderer_sink, gpu_factories_));
+ return std::move(cma_renderer);
}
} // namespace media
« no previous file with comments | « chromecast/renderer/media/audio_pipeline_proxy.cc ('k') | chromecast/renderer/media/cma_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698