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 { |