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

Unified Diff: media/remoting/fake_remoting_controller.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 | « mash/webtest/webtest.cc ('k') | media/remoting/remoting_cdm_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/remoting/fake_remoting_controller.cc
diff --git a/media/remoting/fake_remoting_controller.cc b/media/remoting/fake_remoting_controller.cc
index aacd5ea0ca140f8d286a26e6401b90368ef3a922..d5dafea5378b96e83e784b811a5de15547038b14 100644
--- a/media/remoting/fake_remoting_controller.cc
+++ b/media/remoting/fake_remoting_controller.cc
@@ -177,8 +177,7 @@ void FakeRemoterFactory::Create(mojom::RemotingSourcePtr source,
scoped_refptr<RemotingSourceImpl> CreateRemotingSourceImpl(
bool start_will_fail) {
mojom::RemotingSourcePtr remoting_source;
- mojom::RemotingSourceRequest remoting_source_request =
- mojo::MakeRequest(&remoting_source);
+ mojom::RemotingSourceRequest remoting_source_request(&remoting_source);
mojom::RemoterPtr remoter;
std::unique_ptr<mojom::RemoterFactory> remoter_factory =
base::MakeUnique<FakeRemoterFactory>(start_will_fail);
« no previous file with comments | « mash/webtest/webtest.cc ('k') | media/remoting/remoting_cdm_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698