Index: components/web_view/web_view_impl.cc |
diff --git a/components/web_view/web_view_impl.cc b/components/web_view/web_view_impl.cc |
index 00861b56bf37e78958a4b70dffd55c8e4c0f0cb2..1b6a414a0a232883d1511f10e78cfe3bb9721bd8 100644 |
--- a/components/web_view/web_view_impl.cc |
+++ b/components/web_view/web_view_impl.cc |
@@ -80,7 +80,7 @@ void WebViewImpl::OnLoad(const GURL& pending_url) { |
Frame::ClientPropertyMap client_properties; |
if (devtools_agent_) { |
devtools_service::DevToolsAgentPtr forward_agent; |
- frame_connection->connection()->ConnectToService(&forward_agent); |
+ frame_connection->connection()->GetInterface(&forward_agent); |
devtools_agent_->AttachFrame(std::move(forward_agent), &client_properties); |
} |