| Index: mojo/aura/window_tree_host_mojo.cc
|
| diff --git a/mojo/aura/window_tree_host_mojo.cc b/mojo/aura/window_tree_host_mojo.cc
|
| index e028e0c50dd55f01c27cdc93550a1ccf1e216084..b06044700917020ba781963f8de944cdae10492c 100644
|
| --- a/mojo/aura/window_tree_host_mojo.cc
|
| +++ b/mojo/aura/window_tree_host_mojo.cc
|
| @@ -48,6 +48,7 @@ WindowTreeHostMojo::WindowTreeHostMojo(
|
| }
|
| context_factory_ = new ContextFactoryMojo(gles2_handle.Pass());
|
| ui::ContextFactory::SetInstance(context_factory_);
|
| + aura::Env::GetInstance()->set_context_factory(context_factory_);
|
| CHECK(context_factory_) << "No GL bindings.";
|
|
|
| native_viewport_->CreateGLES2Context(gles2_client_handle.Pass());
|
|
|