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

Unified Diff: ui/aura/remote_window_tree_host_win.cc

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/aura/remote_window_tree_host_win.cc
diff --git a/ui/aura/remote_window_tree_host_win.cc b/ui/aura/remote_window_tree_host_win.cc
index 842598c823ffdafd851c9ebed9b692d8be36e67d..19d0643be1165eca05b85768ed12a14a1156803c 100644
--- a/ui/aura/remote_window_tree_host_win.cc
+++ b/ui/aura/remote_window_tree_host_win.cc
@@ -98,7 +98,7 @@ RemoteWindowTreeHostWin::RemoteWindowTreeHostWin()
CHECK(!g_instance);
g_instance = this;
prop_.reset(new ui::ViewProp(NULL, kWindowTreeHostWinKey, this));
- CreateCompositor(GetAcceleratedWidget());
+ CreateCompositor();
}
RemoteWindowTreeHostWin::~RemoteWindowTreeHostWin() {
@@ -123,7 +123,8 @@ void RemoteWindowTreeHostWin::Connected(IPC::Sender* host) {
host_ = host;
// Recreate the compositor for the target surface represented by the
// remote_window HWND.
- CreateCompositor(remote_window_);
+ CreateCompositor();
+ OnAcceleratedWidgetAvailable();
InitCompositor();
}

Powered by Google App Engine
This is Rietveld 408576698