Index: content/renderer/web_ui_mojo.cc |
diff --git a/content/renderer/web_ui_mojo.cc b/content/renderer/web_ui_mojo.cc |
index 4ff9230fbcd743dbe0a144ec3aa51bcdbb078af4..863fdb49c7da92cf6e86d566c14ea166b8c968b6 100644 |
--- a/content/renderer/web_ui_mojo.cc |
+++ b/content/renderer/web_ui_mojo.cc |
@@ -89,7 +89,7 @@ void WebUIMojo::OnDidFinishDocumentLoad() { |
SetHandleOnContextState(pipe.handle0.Pass()); |
RenderFrame::FromWebFrame(render_view()->GetWebView()->mainFrame())-> |
GetServiceRegistry()-> |
- GetRemoteInterface("webui_controller", pipe.handle1.Pass()); |
+ ConnectToRemoteService("webui_controller", pipe.handle1.Pass()); |
} |
void WebUIMojo::SetHandleOnContextState(mojo::ScopedMessagePipeHandle handle) { |