| Index: ui/gl/gl_surface_ozone.cc
|
| diff --git a/ui/gl/gl_surface_ozone.cc b/ui/gl/gl_surface_ozone.cc
|
| index 437226163db521e483f7c322ac549c23918d08ec..b9c363b77e5abe87251cbd64b6c66f3e63a46391 100644
|
| --- a/ui/gl/gl_surface_ozone.cc
|
| +++ b/ui/gl/gl_surface_ozone.cc
|
| @@ -55,12 +55,6 @@ class GL_EXPORT GLSurfaceOzoneEGL : public NativeViewGLSurfaceEGL {
|
| bool GLSurface::InitializeOneOffInternal() {
|
| switch (GetGLImplementation()) {
|
| case kGLImplementationEGLGLES2:
|
| - if (ui::SurfaceFactoryOzone::GetInstance()->InitializeHardware() !=
|
| - ui::SurfaceFactoryOzone::INITIALIZED) {
|
| - LOG(ERROR) << "Ozone failed to initialize hardware";
|
| - return false;
|
| - }
|
| -
|
| if (!GLSurfaceEGL::InitializeOneOff()) {
|
| LOG(ERROR) << "GLSurfaceEGL::InitializeOneOff failed.";
|
| return false;
|
|
|