| Index: ui/gl/gl_surface_egl.cc
|
| diff --git a/ui/gl/gl_surface_egl.cc b/ui/gl/gl_surface_egl.cc
|
| index 4d64da7880a2a7d31fddadc8fd1c457dabbe06bc..2e193a5d5dc2e2fcff8043065594bee13300930c 100644
|
| --- a/ui/gl/gl_surface_egl.cc
|
| +++ b/ui/gl/gl_surface_egl.cc
|
| @@ -30,6 +30,7 @@ extern "C" {
|
| #endif
|
|
|
| #if defined (USE_OZONE)
|
| +#include "ui/ozone/public/ozone_platform.h"
|
| #include "ui/ozone/public/surface_factory_ozone.h"
|
| #endif
|
|
|
| @@ -305,9 +306,9 @@ bool GLSurfaceEGL::InitializeOneOff() {
|
| };
|
|
|
| #if defined(USE_OZONE)
|
| - const EGLint* config_attribs =
|
| - ui::SurfaceFactoryOzone::GetInstance()->GetEGLSurfaceProperties(
|
| - kConfigAttribs);
|
| + const EGLint* config_attribs = ui::OzonePlatform::GetInstance()
|
| + ->GetSurfaceFactoryOzone()
|
| + ->GetEGLSurfaceProperties(kConfigAttribs);
|
| #else
|
| const EGLint* config_attribs = kConfigAttribs;
|
| #endif
|
|
|