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

Unified Diff: ash/host/ash_window_tree_host_unified.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: ash/host/ash_window_tree_host_unified.cc
diff --git a/ash/host/ash_window_tree_host_unified.cc b/ash/host/ash_window_tree_host_unified.cc
index 2759af6d1332e6fbc73cfe989cd27011b2c7c3ff..f94d1e277ed1a92baeb3add43a9dea36ad36214c 100644
--- a/ash/host/ash_window_tree_host_unified.cc
+++ b/ash/host/ash_window_tree_host_unified.cc
@@ -47,7 +47,8 @@ class UnifiedEventTargeter : public aura::WindowTargeter {
AshWindowTreeHostUnified::AshWindowTreeHostUnified(
const gfx::Rect& initial_bounds)
: bounds_(gfx::Rect(initial_bounds.size())), transformer_helper_(this) {
- CreateCompositor(GetAcceleratedWidget());
+ CreateCompositor();
+ OnAcceleratedWidgetAvailable();
transformer_helper_.Init();
}

Powered by Google App Engine
This is Rietveld 408576698