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 2bf8f82c20772511ceaf6ce9f450f4d527f54d27..6b0b37d4c6c395dc7b0398dd60eafce4c54043dc 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 |