Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index 8a8f31af59987977ada118fe7f3451f3a3fcc25c..9d97b856140cd6e823c41592eefe09d2c30389c2 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -5386,8 +5386,12 @@ mojo::ServiceProviderPtr RenderFrameImpl::ConnectToApplication( |
mojo::ServiceProviderPtr service_provider; |
mojo::URLRequestPtr request(mojo::URLRequest::New()); |
request->url = mojo::String::From(url); |
+ mojo::CapabilityFilterPtr filter(mojo::CapabilityFilter::New()); |
+ mojo::Array<mojo::String> all_interfaces; |
+ all_interfaces.push_back("*"); |
+ filter->filter.insert("*", all_interfaces.Pass()); |
mojo_shell_->ConnectToApplication(request.Pass(), GetProxy(&service_provider), |
- nullptr, nullptr, |
+ nullptr, filter.Pass(), |
base::Bind(&OnGotContentHandlerID)); |
return service_provider.Pass(); |
} |