Index: ui/gl/gl_implementation.cc |
diff --git a/ui/gl/gl_implementation.cc b/ui/gl/gl_implementation.cc |
index 7fe648675d84bb2c05f952f96183ef34c52afbaf..1e958e47b1f0504a4e0f29263f2cc497adc0746b 100644 |
--- a/ui/gl/gl_implementation.cc |
+++ b/ui/gl/gl_implementation.cc |
@@ -71,6 +71,10 @@ OSMESAApi* g_current_osmesa_context; |
EGLApi* g_current_egl_context; |
WGLApi* g_current_wgl_context; |
+#elif defined(USE_WAYLAND) |
+ |
+EGLApi* g_current_egl_context; |
+ |
#elif defined(USE_X11) |
EGLApi* g_current_egl_context; |