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

Unified Diff: ui/aura/window_tree_host_ozone.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/window_tree_host_ozone.cc
diff --git a/ui/aura/window_tree_host_ozone.cc b/ui/aura/window_tree_host_ozone.cc
index 8671e3a682920240d914f1f2ab3ebc475f1e6466..90212e2f406cfb1cb1cf935e6020af07f84a0851 100644
--- a/ui/aura/window_tree_host_ozone.cc
+++ b/ui/aura/window_tree_host_ozone.cc
@@ -104,7 +104,8 @@ void WindowTreeHostOzone::OnAcceleratedWidgetAvailable(
gfx::AcceleratedWidget widget,
float device_pixel_ratio) {
widget_ = widget;
- CreateCompositor(widget_);
+ CreateCompositor();
+ WindowTreeHost::OnAcceleratedWidgetAvailable();
}
void WindowTreeHostOzone::OnActivationChanged(bool active) {

Powered by Google App Engine
This is Rietveld 408576698