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

Unified Diff: ash/common/wm_shell.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 | « no previous file | ash/mus/accelerators/accelerator_controller_delegate_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_shell.cc
diff --git a/ash/common/wm_shell.cc b/ash/common/wm_shell.cc
index 9f140c180dd9b7927cf122a1ace42df9b9add17c..5635d7598883c1efdbb99d0a8872923085f06817 100644
--- a/ash/common/wm_shell.cc
+++ b/ash/common/wm_shell.cc
@@ -275,8 +275,8 @@ WmShell::WmShell(std::unique_ptr<ShellDelegate> shell_delegate)
// Can be null in tests.
if (!delegate_->GetShellConnector())
return;
- delegate_->GetShellConnector()->ConnectToInterface(prefs::mojom::kServiceName,
- &pref_manager_ptr);
+ delegate_->GetShellConnector()->BindInterface(prefs::mojom::kServiceName,
+ &pref_manager_ptr);
pref_store_ = new preferences::PrefObserverStore(std::move(pref_manager_ptr));
}
« no previous file with comments | « no previous file | ash/mus/accelerators/accelerator_controller_delegate_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698