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

Unified Diff: mash/shelf/shelf_model.cc

Issue 1687693002: Rename ConnectToService to ConnectToInterface() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sp2
Patch Set: . Created 4 years, 10 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/screenlock/screenlock.cc ('k') | mash/task_viewer/task_viewer_application_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/shelf/shelf_model.cc
diff --git a/mash/shelf/shelf_model.cc b/mash/shelf/shelf_model.cc
index 9e7e59370acd3f3893b28719bab49fd9c7e04739..398094aec796438e2b0b58ce745b323e82d76946 100644
--- a/mash/shelf/shelf_model.cc
+++ b/mash/shelf/shelf_model.cc
@@ -51,7 +51,7 @@ bool CompareByWeight(const ShelfItem& a, const ShelfItem& b) {
ShelfModel::ShelfModel(mojo::Shell* shell)
: next_id_(1), status_(STATUS_NORMAL), binding_(this) {
- shell->ConnectToService("mojo:desktop_wm", &user_window_controller_);
+ shell->ConnectToInterface("mojo:desktop_wm", &user_window_controller_);
user_window_controller_->AddUserWindowObserver(
binding_.CreateInterfacePtrAndBind());
}
« no previous file with comments | « mash/screenlock/screenlock.cc ('k') | mash/task_viewer/task_viewer_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698