| Index: ui/gl/gl_surface_ozone.cc
|
| diff --git a/ui/gl/gl_surface_ozone.cc b/ui/gl/gl_surface_ozone.cc
|
| index 800be1759fe96331573944463123e00ce19968f2..980fb4b53f743f3d9e1101d1ec2174a5180943ec 100644
|
| --- a/ui/gl/gl_surface_ozone.cc
|
| +++ b/ui/gl/gl_surface_ozone.cc
|
| @@ -22,6 +22,7 @@
|
| #include "ui/gl/scoped_binders.h"
|
| #include "ui/gl/scoped_make_current.h"
|
| #include "ui/ozone/public/native_pixmap.h"
|
| +#include "ui/ozone/public/ozone_platform.h"
|
| #include "ui/ozone/public/surface_factory_ozone.h"
|
| #include "ui/ozone/public/surface_ozone_egl.h"
|
|
|
| @@ -394,6 +395,7 @@ class GL_EXPORT GLSurfaceOzoneSurfacelessSurfaceImpl
|
|
|
| // static
|
| bool GLSurface::InitializeOneOffInternal() {
|
| + ui::OzonePlatform::InitializeForGpuPostMainLoop();
|
| switch (GetGLImplementation()) {
|
| case kGLImplementationEGLGLES2:
|
| if (!GLSurfaceEGL::InitializeOneOff()) {
|
|
|