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

Unified Diff: mandoline/ui/aura/window_tree_host_mojo.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: mandoline/ui/aura/window_tree_host_mojo.cc
diff --git a/mandoline/ui/aura/window_tree_host_mojo.cc b/mandoline/ui/aura/window_tree_host_mojo.cc
index bbcb2b61087d0443fba173323432960a55158951..21323b636799e51d28fafda406df56cd380eef6b 100644
--- a/mandoline/ui/aura/window_tree_host_mojo.cc
+++ b/mandoline/ui/aura/window_tree_host_mojo.cc
@@ -31,7 +31,8 @@ WindowTreeHostMojo::WindowTreeHostMojo(mojo::Shell* shell, mojo::View* view)
ui::ContextFactory* default_context_factory =
aura::Env::GetInstance()->context_factory();
aura::Env::GetInstance()->set_context_factory(context_factory_.get());
- CreateCompositor(GetAcceleratedWidget());
+ CreateCompositor();
+ OnAcceleratedWidgetAvailable();
aura::Env::GetInstance()->set_context_factory(default_context_factory);
DCHECK_EQ(context_factory_.get(), compositor()->context_factory());
« content/public/browser/BUILD.gn ('K') | « extensions/extensions.gypi ('k') | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698