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

Unified Diff: mash/browser/browser.cc

Issue 2617883002: Add a new BindInterface() method to Connector. (Closed)
Patch Set: . Created 3 years, 11 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') | mash/catalog_viewer/catalog_viewer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/browser/browser.cc
diff --git a/mash/browser/browser.cc b/mash/browser/browser.cc
index 5e9d2c97982961be73beafb2745d4318aa49ee17..840d9174ddfbd691a03c43747c3b4467d0f474db 100644
--- a/mash/browser/browser.cc
+++ b/mash/browser/browser.cc
@@ -874,8 +874,8 @@ void Browser::RemoveWindow(views::Widget* window) {
std::unique_ptr<navigation::View> Browser::CreateView() {
navigation::mojom::ViewFactoryPtr factory;
- context()->connector()->ConnectToInterface(
- content::mojom::kBrowserServiceName, &factory);
+ context()->connector()->BindInterface(content::mojom::kBrowserServiceName,
+ &factory);
return base::MakeUnique<navigation::View>(std::move(factory));
}
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | mash/catalog_viewer/catalog_viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698