Index: ui/gl/gl_implementation.cc |
diff --git a/ui/gl/gl_implementation.cc b/ui/gl/gl_implementation.cc |
index a97a4df558a7983d46402fb822cb5faa478a7935..1b9e2b74c80b6afd7894b3ab0109e04677715bb5 100644 |
--- a/ui/gl/gl_implementation.cc |
+++ b/ui/gl/gl_implementation.cc |
@@ -76,6 +76,10 @@ WGLApi* g_current_wgl_context; |
EGLApi* g_current_egl_context; |
GLXApi* g_current_glx_context; |
+#elif defined(USE_NATIVE_SURFACE_LINUX) |
+ |
+EGLApi* g_current_egl_context; |
+ |
#elif defined(OS_ANDROID) |
EGLApi* g_current_egl_context; |