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 29dbd821274c54c3eecf703257a3c5946634a4bc..636e4f76f652e9a4d4e06061d8d84c3b00638b6b 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/application_impl.h" |
+#include "mojo/shell/public/cpp/shell.h" |
namespace mus { |
namespace { |
@@ -65,7 +65,7 @@ bool WindowServerTestBase::QuitRunLoop() { |
void WindowServerTestBase::SetUp() { |
ApplicationTestBase::SetUp(); |
- CreateWindowTreeHost(application_impl(), this, &host_, this); |
+ CreateWindowTreeHost(shell(), this, &host_, this); |
ASSERT_TRUE(DoRunLoopWithTimeout()); // RunLoop should be quit by OnEmbed(). |
std::swap(window_manager_, most_recent_connection_); |