Index: ui/gl/gl_implementation_ozone.cc |
diff --git a/ui/gl/gl_implementation_ozone.cc b/ui/gl/gl_implementation_ozone.cc |
index 2ca30a4c923bd14627fd1b9c8645296f48a0125f..10ab44d5b25936ee595a43ab4c7c5a14c145af05 100644 |
--- a/ui/gl/gl_implementation_ozone.cc |
+++ b/ui/gl/gl_implementation_ozone.cc |
@@ -10,6 +10,7 @@ |
#include "ui/gl/gl_implementation.h" |
#include "ui/gl/gl_implementation_linux.h" |
#include "ui/gl/gl_osmesa_api_implementation.h" |
+#include "ui/ozone/ozone_platform.h" |
namespace gfx { |
@@ -42,6 +43,7 @@ bool InitializeGLBindings(GLImplementation implementation) { |
case kGLImplementationOSMesaGL: |
return InitializeGLBindingsOSMesaGL(); |
case kGLImplementationEGLGLES2: |
+ ui::OzonePlatform::Initialize(); |
if (!gfx::SurfaceFactoryOzone::GetInstance()->LoadEGLGLES2Bindings( |
base::Bind(&AddGLNativeLibrary), |
base::Bind(&SetGLGetProcAddressProc))) |