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

Unified Diff: mash/quick_launch/quick_launch.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 | « mash/catalog_viewer/catalog_viewer.cc ('k') | mash/task_viewer/task_viewer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/quick_launch/quick_launch.cc
diff --git a/mash/quick_launch/quick_launch.cc b/mash/quick_launch/quick_launch.cc
index 1eb5a16ca332d082c08043c1e924fc2e9b9f18a0..18cacff1e32e473625a6234ecf3e910a958a1a69 100644
--- a/mash/quick_launch/quick_launch.cc
+++ b/mash/quick_launch/quick_launch.cc
@@ -190,8 +190,7 @@ void QuickLaunch::Launch(uint32_t what, mojom::LaunchMode how) {
return;
}
catalog::mojom::CatalogPtr catalog;
- context()->connector()->ConnectToInterface(catalog::mojom::kServiceName,
- &catalog);
+ context()->connector()->BindInterface(catalog::mojom::kServiceName, &catalog);
views::Widget* window = views::Widget::CreateWindowWithContextAndBounds(
new QuickLaunchUI(this, context()->connector(), std::move(catalog)),
« no previous file with comments | « mash/catalog_viewer/catalog_viewer.cc ('k') | mash/task_viewer/task_viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698