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()); |
} |