Index: ui/gfx/gl/gl_bindings.h |
diff --git a/ui/gfx/gl/gl_bindings.h b/ui/gfx/gl/gl_bindings.h |
index 34f9772703faef1e4e9ca85096e7c92c2ea4a984..fc47b6051c239a0849cfd90e563ef9c8e9cac314 100644 |
--- a/ui/gfx/gl/gl_bindings.h |
+++ b/ui/gfx/gl/gl_bindings.h |
@@ -64,6 +64,10 @@ typedef void* GLeglImageOES; |
typedef HDC EGLNativeDisplayType; |
typedef HBITMAP EGLNativePixmapType; |
typedef HWND EGLNativeWindowType; |
+#elif defined(USE_WAYLAND) |
+typedef struct wl_display *EGLNativeDisplayType; |
+typedef struct wl_egl_pixmap *EGLNativePixmapType; |
+typedef struct wl_egl_window *EGLNativeWindowType; |
#else |
typedef Display *EGLNativeDisplayType; |
typedef Pixmap EGLNativePixmapType; |