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

Unified Diff: media/mojo/clients/mojo_renderer.cc

Issue 2589663003: mojo:: Rename mojo::GetProxy() to mojo::MakeRequest() (Closed)
Patch Set: Rebase Created 4 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/mojo/clients/mojo_cdm_unittest.cc ('k') | media/mojo/clients/mojo_renderer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_renderer.cc
diff --git a/media/mojo/clients/mojo_renderer.cc b/media/mojo/clients/mojo_renderer.cc
index 36f1125e0e165460012b5eb964ae2d386b54a343..119de6240f6467c83f12bf0784d31676373b120d 100644
--- a/media/mojo/clients/mojo_renderer.cc
+++ b/media/mojo/clients/mojo_renderer.cc
@@ -81,7 +81,7 @@ void MojoRenderer::InitializeRendererFromStreams(
mojom::DemuxerStreamPtr audio_stream;
if (audio) {
audio_stream_.reset(
- new MojoDemuxerStreamImpl(audio, GetProxy(&audio_stream)));
+ new MojoDemuxerStreamImpl(audio, MakeRequest(&audio_stream)));
// Using base::Unretained(this) is safe because |this| owns
// |audio_stream_|, and the error handler can't be invoked once
// |audio_stream_| is destroyed.
@@ -93,7 +93,7 @@ void MojoRenderer::InitializeRendererFromStreams(
mojom::DemuxerStreamPtr video_stream;
if (video) {
video_stream_.reset(
- new MojoDemuxerStreamImpl(video, GetProxy(&video_stream)));
+ new MojoDemuxerStreamImpl(video, MakeRequest(&video_stream)));
// Using base::Unretained(this) is safe because |this| owns
// |video_stream_|, and the error handler can't be invoked once
// |video_stream_| is destroyed.
« no previous file with comments | « media/mojo/clients/mojo_cdm_unittest.cc ('k') | media/mojo/clients/mojo_renderer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698