| Index: mojo/cc/context_provider_mojo.cc
|
| diff --git a/mojo/cc/context_provider_mojo.cc b/mojo/cc/context_provider_mojo.cc
|
| index 1dd62d8a08bd8c3fda2a9e838ba8afeee7d04b69..16c6f8c6ac2bc2a84e17287b827a84e797da9497 100644
|
| --- a/mojo/cc/context_provider_mojo.cc
|
| +++ b/mojo/cc/context_provider_mojo.cc
|
| @@ -5,6 +5,7 @@
|
| #include "mojo/cc/context_provider_mojo.h"
|
|
|
| #include "base/logging.h"
|
| +#include "mojo/public/cpp/environment/environment.h"
|
|
|
| namespace mojo {
|
|
|
| @@ -16,10 +17,10 @@ ContextProviderMojo::ContextProviderMojo(
|
|
|
| bool ContextProviderMojo::BindToCurrentThread() {
|
| DCHECK(command_buffer_handle_.is_valid());
|
| - context_ = MojoGLES2CreateContext(
|
| - command_buffer_handle_.release().value(),
|
| - &ContextLostThunk,
|
| - this);
|
| + context_ = MojoGLES2CreateContext(command_buffer_handle_.release().value(),
|
| + &ContextLostThunk,
|
| + this,
|
| + Environment::GetDefaultAsyncWaiter());
|
| return !!context_;
|
| }
|
|
|
|
|