Index: ash/mus/window_manager_unittest.cc |
diff --git a/ash/mus/window_manager_unittest.cc b/ash/mus/window_manager_unittest.cc |
index cf228cf4a60fd97fc92d89cf435fb9a4a78e3f7e..5c300e9eac5d1b1f1c7d7b8fc5ea1ddce47e4e87 100644 |
--- a/ash/mus/window_manager_unittest.cc |
+++ b/ash/mus/window_manager_unittest.cc |
@@ -52,7 +52,7 @@ class TestUserWindowObserver : public mojom::UserWindowObserver { |
public: |
explicit TestUserWindowObserver(shell::Connector* connector) |
: binding_(this), window_count_(0u), expected_window_count_(0u) { |
- connector->ConnectToInterface("mojo:desktop_wm", &user_window_controller_); |
+ connector->ConnectToInterface("mojo:ash", &user_window_controller_); |
user_window_controller_->AddUserWindowObserver( |
binding_.CreateInterfacePtrAndBind()); |
} |
@@ -114,11 +114,10 @@ class TestUserWindowObserver : public mojom::UserWindowObserver { |
TEST_F(WindowManagerTest, OpenWindow) { |
WindowTreeClientDelegate window_tree_delegate; |
- // Bring up the the desktop_wm. |
- connector()->Connect("mojo:desktop_wm"); |
+ connector()->Connect("mojo:ash"); |
// Connect to mus and create a new top level window. The request goes to |
- // the |desktop_wm|, but is async. |
+ // |ash|, but is async. |
std::unique_ptr<::mus::WindowTreeClient> client( |
new ::mus::WindowTreeClient(&window_tree_delegate, nullptr, nullptr)); |
client->ConnectViaWindowTreeFactory(connector()); |
@@ -141,8 +140,7 @@ TEST_F(WindowManagerTest, OpenWindow) { |
} |
TEST_F(WindowManagerTest, OpenWindowAndClose) { |
- // Bring up the the desktop_wm. |
- connector()->Connect("mojo:desktop_wm"); |
+ connector()->Connect("mojo:ash"); |
TestUserWindowObserver observer(connector()); |