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 19e7f4feefcc7492cdc5c73cd42133264b1cd38c..8d404c0a46223d5da82b33bced968c0c20b8fe1a 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 |