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