Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1364)

Unified Diff: content/renderer/web_ui_mojo.cc

Issue 358743002: Mojo: Remove InterfaceProvider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/utility/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/utility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698