summaryrefslogtreecommitdiffstats
path: root/components/web_view/frame_connection.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/web_view/frame_connection.cc')
-rw-r--r--components/web_view/frame_connection.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/web_view/frame_connection.cc b/components/web_view/frame_connection.cc
index a6049b7..af40457 100644
--- a/components/web_view/frame_connection.cc
+++ b/components/web_view/frame_connection.cc
@@ -119,7 +119,7 @@ void FrameConnection::Init(mojo::Shell* shell,
mojo::Shell::ConnectParams params(std::move(request));
params.set_filter(std::move(filter));
- connection_ = shell->ConnectToApplication(&params);
+ connection_ = shell->Connect(&params);
connection_->ConnectToService(&frame_client_);
connection_->AddRemoteIDCallback(on_got_id_callback);
}