Index: components/mus/public/cpp/tests/window_server_test_base.cc |
diff --git a/components/mus/public/cpp/tests/window_server_test_base.cc b/components/mus/public/cpp/tests/window_server_test_base.cc |
index ab47629c6edf460fb7ea1a386b2d393619d891be..affbf31a4beefa8f43058cc675197a29e33adfbc 100644 |
--- a/components/mus/public/cpp/tests/window_server_test_base.cc |
+++ b/components/mus/public/cpp/tests/window_server_test_base.cc |
@@ -11,7 +11,7 @@ |
#include "components/mus/public/cpp/window.h" |
#include "components/mus/public/cpp/window_tree_connection.h" |
#include "components/mus/public/cpp/window_tree_host_factory.h" |
-#include "mojo/shell/public/cpp/shell.h" |
+#include "mojo/shell/public/cpp/connector.h" |
namespace mus { |
namespace { |
@@ -65,7 +65,7 @@ bool WindowServerTestBase::QuitRunLoop() { |
void WindowServerTestBase::SetUp() { |
ApplicationTestBase::SetUp(); |
- CreateWindowTreeHost(shell(), this, &host_, this); |
+ CreateWindowTreeHost(connector(), this, &host_, this); |
ASSERT_TRUE(DoRunLoopWithTimeout()); // RunLoop should be quit by OnEmbed(). |
std::swap(window_manager_, most_recent_connection_); |