Index: ui/gfx/gl/gl_surface_egl.h |
diff --git a/ui/gfx/gl/gl_surface_egl.h b/ui/gfx/gl/gl_surface_egl.h |
index 1b03a75377c51d649df8ed6ebd0e9717bab514c2..e7caaffd6638c41b3343da0f39958805c292dc6e 100644 |
--- a/ui/gfx/gl/gl_surface_egl.h |
+++ b/ui/gfx/gl/gl_surface_egl.h |
@@ -20,6 +20,8 @@ typedef void* EGLSurface; |
#if defined(OS_WIN) |
typedef HDC EGLNativeDisplayType; |
+#elif defined(USE_WAYLAND) |
+typedef struct wl_display* EGLNativeDisplayType; |
#else |
typedef struct _XDisplay* EGLNativeDisplayType; |
#endif |