Index: components/web_view/frame_connection.cc |
diff --git a/components/web_view/frame_connection.cc b/components/web_view/frame_connection.cc |
index 7358c3d709bd5b00ecaff347750cd1fd81003058..896dad49b232ca5a2fd180afec5a65c8d451ba7a 100644 |
--- a/components/web_view/frame_connection.cc |
+++ b/components/web_view/frame_connection.cc |
@@ -120,7 +120,7 @@ void FrameConnection::Init(mojo::ApplicationImpl* app, |
params.set_filter(std::move(filter)); |
application_connection_ = app->ConnectToApplication(¶ms); |
application_connection_->ConnectToService(&frame_client_); |
- application_connection_->AddContentHandlerIDCallback(on_got_id_callback); |
+ application_connection_->AddRemoteIDCallback(on_got_id_callback); |
} |
mus::mojom::WindowTreeClientPtr FrameConnection::GetWindowTreeClient() { |
@@ -131,8 +131,8 @@ mus::mojom::WindowTreeClientPtr FrameConnection::GetWindowTreeClient() { |
} |
uint32_t FrameConnection::GetContentHandlerID() const { |
- uint32_t content_handler_id = mojo::Shell::kInvalidContentHandlerID; |
- if (!application_connection_->GetContentHandlerID(&content_handler_id)) |
+ uint32_t content_handler_id = mojo::Shell::kInvalidApplicationID; |
+ if (!application_connection_->GetRemoteContentHandlerID(&content_handler_id)) |
NOTREACHED(); |
return content_handler_id; |
} |