| 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());
|
|
|
|
|