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

Unified Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura.cc

Issue 184903003: Window ownership -> WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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/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();
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_drop_target_win.cc ('k') | ui/views/widget/desktop_aura/desktop_screen_position_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698