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

Unified Diff: ui/views/mus/clipboard_mus.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 | « ui/views/mus/aura_init.cc ('k') | ui/views/mus/mus_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/clipboard_mus.cc
diff --git a/ui/views/mus/clipboard_mus.cc b/ui/views/mus/clipboard_mus.cc
index a2e3e38c4a7621e9103dbd10016bc4753d1a347e..0886507ce92ef0b2ee2a017ad4a4565eb3d99f20 100644
--- a/ui/views/mus/clipboard_mus.cc
+++ b/ui/views/mus/clipboard_mus.cc
@@ -47,7 +47,7 @@ ClipboardMus::ClipboardMus() {}
ClipboardMus::~ClipboardMus() {}
void ClipboardMus::Init(service_manager::Connector* connector) {
- connector->ConnectToInterface(ui::mojom::kServiceName, &clipboard_);
+ connector->BindInterface(ui::mojom::kServiceName, &clipboard_);
}
// TODO(erg): This isn't optimal. It would be better to move the entire
« no previous file with comments | « ui/views/mus/aura_init.cc ('k') | ui/views/mus/mus_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698