Index: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
index d373a0cd6a2cb6a87ad2591981ad268ef9abe062..f6ecab3d66514c8dbbd1037fa95700d70f53df9e 100644 |
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc |
@@ -470,9 +470,7 @@ void DesktopNativeWidgetAura::InitNativeWidget( |
aura::client::SetDispatcherClient(host_->window(), |
dispatcher_client_.get()); |
- position_client_.reset(new DesktopScreenPositionClient()); |
- aura::client::SetScreenPositionClient(host_->window(), |
- position_client_.get()); |
+ position_client_.reset(new DesktopScreenPositionClient(host_->window())); |
InstallInputMethodEventFilter(); |