| Index: components/web_view/frame_connection.cc
|
| diff --git a/components/web_view/frame_connection.cc b/components/web_view/frame_connection.cc
|
| index af40457811d6bffcce6f51353847e3d455c8dad4..7ecd3b84d7963d5a2bd8e7e565cabf86747c0b6c 100644
|
| --- a/components/web_view/frame_connection.cc
|
| +++ b/components/web_view/frame_connection.cc
|
| @@ -120,14 +120,14 @@ void FrameConnection::Init(mojo::Shell* shell,
|
| mojo::Shell::ConnectParams params(std::move(request));
|
| params.set_filter(std::move(filter));
|
| connection_ = shell->Connect(¶ms);
|
| - connection_->ConnectToService(&frame_client_);
|
| + connection_->GetInterface(&frame_client_);
|
| connection_->AddRemoteIDCallback(on_got_id_callback);
|
| }
|
|
|
| mus::mojom::WindowTreeClientPtr FrameConnection::GetWindowTreeClient() {
|
| DCHECK(connection_);
|
| mus::mojom::WindowTreeClientPtr window_tree_client;
|
| - connection_->ConnectToService(&window_tree_client);
|
| + connection_->GetInterface(&window_tree_client);
|
| return window_tree_client;
|
| }
|
|
|
|
|