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

Unified Diff: ui/views/widget/desktop_aura/desktop_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/views/widget/desktop_aura/desktop_window_tree_host_win.cc
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
index 5bee7fd959f9bf26e5d884a5be348927ec4b5872..23dae37bd4a9f06f8c77d1e802b27cda0e3db1b6 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
@@ -145,7 +145,8 @@ void DesktopWindowTreeHostWin::Init(aura::Window* content_window,
kForceSoftwareCompositor,
reinterpret_cast<HANDLE>(true));
}
- CreateCompositor(GetAcceleratedWidget());
+ CreateCompositor();
+ OnAcceleratedWidgetAvailable();
}
void DesktopWindowTreeHostWin::OnNativeWidgetCreated(

Powered by Google App Engine
This is Rietveld 408576698