| Index: ui/gl/gl_implementation.cc
|
| diff --git a/ui/gl/gl_implementation.cc b/ui/gl/gl_implementation.cc
|
| index af06cbee98193f7033bdd313a7a6866223013bea..dfb1548ba8c4d69e22f812deffd6a62c72f7ed16 100644
|
| --- a/ui/gl/gl_implementation.cc
|
| +++ b/ui/gl/gl_implementation.cc
|
| @@ -58,24 +58,16 @@ void CleanupNativeLibraries(void* unused) {
|
| base::ThreadLocalPointer<GLApi>* g_current_gl_context_tls = NULL;
|
| OSMESAApi* g_current_osmesa_context;
|
|
|
| -#if defined(OS_WIN)
|
| -
|
| +#if defined(USE_EGL)
|
| EGLApi* g_current_egl_context;
|
| -WGLApi* g_current_wgl_context;
|
| +#endif
|
|
|
| -#elif defined(USE_X11)
|
| +#if defined(OS_WIN)
|
| +WGLApi* g_current_wgl_context;
|
| +#endif
|
|
|
| -EGLApi* g_current_egl_context;
|
| +#if defined(USE_GLX)
|
| GLXApi* g_current_glx_context;
|
| -
|
| -#elif defined(USE_OZONE)
|
| -
|
| -EGLApi* g_current_egl_context;
|
| -
|
| -#elif defined(OS_ANDROID)
|
| -
|
| -EGLApi* g_current_egl_context;
|
| -
|
| #endif
|
|
|
| GLImplementation GetNamedGLImplementation(const std::string& name) {
|
|
|