Index: content/browser/mojo/mojo_app_connection_impl.cc |
diff --git a/content/browser/mojo/mojo_app_connection_impl.cc b/content/browser/mojo/mojo_app_connection_impl.cc |
index 1cf214836f81b9279303cc382f7a62b71a42f22c..e0e15609baff3d795209dca208194de83f8c8766 100644 |
--- a/content/browser/mojo/mojo_app_connection_impl.cc |
+++ b/content/browser/mojo/mojo_app_connection_impl.cc |
@@ -20,17 +20,19 @@ void OnGotInstanceID(uint32_t remote_id, uint32_t user_id) {} |
// static |
scoped_ptr<MojoAppConnection> MojoAppConnection::Create( |
+ BrowserContext* context, |
const std::string& name, |
const std::string& requestor_name) { |
return scoped_ptr<MojoAppConnection>( |
- new MojoAppConnectionImpl(name, requestor_name)); |
+ new MojoAppConnectionImpl(context, name, requestor_name)); |
} |
MojoAppConnectionImpl::MojoAppConnectionImpl( |
+ BrowserContext* context, |
const std::string& name, |
const std::string& requestor_name) { |
- MojoShellContext::ConnectToApplication( |
- name, requestor_name, mojo::GetProxy(&interfaces_), |
+ MojoShellContext::ConnectToApplicationWithContext( |
+ context, name, requestor_name, mojo::GetProxy(&interfaces_), |
mojo::shell::mojom::InterfaceProviderPtr(), |
base::Bind(&OnGotInstanceID)); |
} |