Index: content/child/mojo/mojo_application.cc |
diff --git a/content/child/mojo/mojo_application.cc b/content/child/mojo/mojo_application.cc |
index a09352bd8bb35f4595005519a3764c00f478c184..9e20e4bc9e11efd02812743441c5c5373833f112 100644 |
--- a/content/child/mojo/mojo_application.cc |
+++ b/content/child/mojo/mojo_application.cc |
@@ -35,8 +35,8 @@ void MojoApplication::InitWithToken(const std::string& token) { |
shell::mojom::InterfaceProviderPtr remote_interfaces; |
shell::mojom::InterfaceProviderRequest remote_interfaces_request = |
GetProxy(&remote_interfaces); |
- remote_interfaces_.reset( |
- new shell::InterfaceProvider(std::move(remote_interfaces))); |
+ remote_interfaces_.reset(new shell::InterfaceProvider); |
+ remote_interfaces_->Bind(std::move(remote_interfaces)); |
application_setup->ExchangeInterfaceProviders( |
std::move(remote_interfaces_request), |
std::move(exposed_interfaces)); |