Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Unified Diff: components/mus/public/cpp/tests/window_server_test_base.cc

Issue 1725353003: Eliminate mojo::Shell client lib class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@15connector
Patch Set: . Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_);
« no previous file with comments | « components/mus/public/cpp/lib/window_tree_host_factory.cc ('k') | components/mus/public/cpp/window_tree_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698