Index: components/html_viewer/blink_platform_impl.cc |
diff --git a/components/html_viewer/blink_platform_impl.cc b/components/html_viewer/blink_platform_impl.cc |
index 1a8d15938bc9da9ba3f6e08ceae1c6e627505515..53df0ed33441fc5e7e71f752e4a9666083b2f319 100644 |
--- a/components/html_viewer/blink_platform_impl.cc |
+++ b/components/html_viewer/blink_platform_impl.cc |
@@ -80,11 +80,11 @@ BlinkPlatformImpl::BlinkPlatformImpl( |
if (shell) { |
scoped_ptr<mojo::Connection> connection = |
shell->Connect("mojo:network_service"); |
- connection->ConnectToService(&web_socket_factory_); |
- connection->ConnectToService(&url_loader_factory_); |
+ connection->GetInterface(&web_socket_factory_); |
+ connection->GetInterface(&url_loader_factory_); |
mojo::CookieStorePtr cookie_store; |
- connection->ConnectToService(&cookie_store); |
+ connection->GetInterface(&cookie_store); |
cookie_jar_.reset(new WebCookieJarImpl(std::move(cookie_store))); |
mojo::ClipboardPtr clipboard; |