diff options
Diffstat (limited to 'mash/wm/window_manager_apptest.cc')
-rw-r--r-- | mash/wm/window_manager_apptest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mash/wm/window_manager_apptest.cc b/mash/wm/window_manager_apptest.cc index 6e6e9fb..7ea0a25 100644 --- a/mash/wm/window_manager_apptest.cc +++ b/mash/wm/window_manager_apptest.cc @@ -39,12 +39,12 @@ TEST_F(WindowManagerAppTest, OpenWindow) { WindowTreeDelegateImpl window_tree_delegate; // Bring up the the desktop_wm. - shell()->Connect("mojo:desktop_wm"); + connector()->Connect("mojo:desktop_wm"); // Connect to mus and create a new top level window. The request goes to // the |desktop_wm|, but is async. scoped_ptr<mus::WindowTreeConnection> connection( - mus::WindowTreeConnection::Create(&window_tree_delegate, shell())); + mus::WindowTreeConnection::Create(&window_tree_delegate, connector())); mus::Window* top_level_window = connection->NewTopLevelWindow(nullptr); ASSERT_TRUE(top_level_window); mus::Window* child_window = connection->NewWindow(); |