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

Unified Diff: media/remoting/remoting_cdm_factory.cc

Issue 2592623002: mojo:: Introduce InterfaceRequest ctor that takes in InterfacePtr* (Closed)
Patch Set: Rebase + response to review 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/remoting/fake_remoting_controller.cc ('k') | mojo/public/cpp/bindings/interface_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/remoting/remoting_cdm_factory.cc
diff --git a/media/remoting/remoting_cdm_factory.cc b/media/remoting/remoting_cdm_factory.cc
index e24b80a6ccd4c57e5922f5590347f295d85c2fe3..dd347797db09cae9317c655f0199aaaf4a392fd9 100644
--- a/media/remoting/remoting_cdm_factory.cc
+++ b/media/remoting/remoting_cdm_factory.cc
@@ -29,8 +29,7 @@ RemotingCdmFactory::~RemotingCdmFactory() {}
std::unique_ptr<RemotingCdmController>
RemotingCdmFactory::CreateRemotingCdmController() {
mojom::RemotingSourcePtr remoting_source;
- mojom::RemotingSourceRequest remoting_source_request =
- mojo::MakeRequest(&remoting_source);
+ mojom::RemotingSourceRequest remoting_source_request(&remoting_source);
mojom::RemoterPtr remoter;
remoter_factory_->Create(std::move(remoting_source),
mojo::MakeRequest(&remoter));
« no previous file with comments | « media/remoting/fake_remoting_controller.cc ('k') | mojo/public/cpp/bindings/interface_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698