| Index: components/web_view/frame_connection.cc
|
| diff --git a/components/web_view/frame_connection.cc b/components/web_view/frame_connection.cc
|
| index 68d8fc082b59cf19fe9bbe015bf89f4e2d6b2685..4d403372edbc30a9d0b599e0472c81c9600ad816 100644
|
| --- a/components/web_view/frame_connection.cc
|
| +++ b/components/web_view/frame_connection.cc
|
| @@ -110,8 +110,9 @@ void FrameConnection::Init(mojo::ApplicationImpl* app,
|
| filter->filter.insert("mojo:font_service", font_service_interfaces.Pass());
|
| #endif
|
|
|
| - application_connection_ = app->ConnectToApplicationWithCapabilityFilter(
|
| - request.Pass(), filter.Pass());
|
| + mojo::ApplicationImpl::ConnectParams params(request.Pass());
|
| + params.set_filter(filter.Pass());
|
| + application_connection_ = app->ConnectToApplication(¶ms);
|
| application_connection_->ConnectToService(&frame_client_);
|
| application_connection_->AddContentHandlerIDCallback(on_got_id_callback);
|
| }
|
|
|