Index: mojo/gles2/control_thunks_impl.cc |
diff --git a/mojo/gles2/control_thunks_impl.cc b/mojo/gles2/control_thunks_impl.cc |
index 67e4bbb5cf39493285a75278f0ffad93b91d2b8c..ab0d48c52a6963cc3d4b6ba2c22f9d86cba876fa 100644 |
--- a/mojo/gles2/control_thunks_impl.cc |
+++ b/mojo/gles2/control_thunks_impl.cc |
@@ -20,8 +20,8 @@ namespace gles2 { |
// static |
ControlThunksImpl* ControlThunksImpl::Get() { |
- static base::LazyInstance<ControlThunksImpl>::Leaky thunks; |
- return thunks.Pointer(); |
+ static auto* thunks = new ControlThunksImpl; |
+ return thunks; |
} |
MGLContext ControlThunksImpl::CreateContext( |