Index: shell/application_manager/application_manager.cc |
diff --git a/shell/application_manager/application_manager.cc b/shell/application_manager/application_manager.cc |
index 4973827f959919aca466475aa10c986e0b632486..e1a6125138500301fc0fb08209ac48dafa7e73b2 100644 |
--- a/shell/application_manager/application_manager.cc |
+++ b/shell/application_manager/application_manager.cc |
@@ -57,7 +57,8 @@ class ApplicationManager::ContentHandlerConnection : public mojo::ErrorHandler { |
mojo::GetProxy(&services), nullptr, |
base::Closure()); |
mojo::MessagePipe pipe; |
- content_handler_.Bind(pipe.handle0.Pass()); |
+ content_handler_.Bind( |
+ mojo::InterfacePtrInfo<mojo::ContentHandler>(pipe.handle0.Pass(), 0u)); |
services->ConnectToService(mojo::ContentHandler::Name_, |
pipe.handle1.Pass()); |
content_handler_.set_error_handler(this); |