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

Unified Diff: ui/views/mus/platform_test_helper_mus.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: ui/views/mus/platform_test_helper_mus.cc
diff --git a/ui/views/mus/platform_test_helper_mus.cc b/ui/views/mus/platform_test_helper_mus.cc
index bc99b4bdd7ea891bf212a2b6dd06aea6ad9d7a49..d6929c7cfb61b5bb2361641060c9aeaec9400feb 100644
--- a/ui/views/mus/platform_test_helper_mus.cc
+++ b/ui/views/mus/platform_test_helper_mus.cc
@@ -38,9 +38,9 @@ class PlatformTestHelperMus : public PlatformTestHelper {
shell_connection_->WaitForInitialize();
// ui/views/mus requires a WindowManager running, for now use the desktop
// one.
- mojo::Shell* shell = shell_connection_.get();
- shell->Connect("mojo:desktop_wm");
- WindowManagerConnection::Create(shell_connection_.get());
+ mojo::Connector* connector = shell_connection_->connector();
+ connector->Connect("mojo:desktop_wm");
+ WindowManagerConnection::Create(connector);
}
~PlatformTestHelperMus() override {

Powered by Google App Engine
This is Rietveld 408576698