| Index: ash/mus/window_manager_application.cc
|
| diff --git a/ash/mus/window_manager_application.cc b/ash/mus/window_manager_application.cc
|
| index a151caa2615786b129a30e8033f00824f73681d4..c4b2a554aedd8e30c4b5bac3daaedaea8a9a327e 100644
|
| --- a/ash/mus/window_manager_application.cc
|
| +++ b/ash/mus/window_manager_application.cc
|
| @@ -40,8 +40,7 @@
|
| namespace ash {
|
| namespace mus {
|
|
|
| -WindowManagerApplication::WindowManagerApplication()
|
| - : screenlock_state_listener_binding_(this) {}
|
| +WindowManagerApplication::WindowManagerApplication() {}
|
|
|
| WindowManagerApplication::~WindowManagerApplication() {
|
| // Destroy the WindowManager while still valid. This way we ensure
|
| @@ -151,18 +150,8 @@ bool WindowManagerApplication::OnConnect(
|
| // Register services used in both classic ash and mash.
|
| mojo_interface_factory::RegisterInterfaces(
|
| registry, base::ThreadTaskRunnerHandle::Get());
|
| -
|
| - if (remote_info.identity.name() == "mash_session") {
|
| - context()->connector()->ConnectToInterface(remote_info.identity, &session_);
|
| - session_->AddScreenlockStateListener(
|
| - screenlock_state_listener_binding_.CreateInterfacePtrAndBind());
|
| - }
|
| return true;
|
| }
|
|
|
| -void WindowManagerApplication::ScreenlockStateChanged(bool locked) {
|
| - window_manager_->SetScreenLocked(locked);
|
| -}
|
| -
|
| } // namespace mus
|
| } // namespace ash
|
|
|