Index: ui/gl/gl_surface_egl.h |
diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h |
index 04db3a9691438eb5bffadcea74a895191d5f9e1e..1101b5a70872d9e13c2dd38a4811ce9f9b6a14a3 100644 |
--- a/ui/gl/gl_surface_egl.h |
+++ b/ui/gl/gl_surface_egl.h |
@@ -19,6 +19,11 @@ |
#include "ui/gl/gl_surface.h" |
#include "ui/gl/vsync_provider.h" |
+#if defined(USE_WAYLAND) |
+struct wl_surface; |
+struct wl_egl_window; |
+#endif |
+ |
namespace gfx { |
// Interface for EGL surface. |
@@ -109,6 +114,10 @@ class GL_EXPORT PbufferGLSurfaceEGL : public GLSurfaceEGL { |
private: |
gfx::Size size_; |
EGLSurface surface_; |
+#if defined(USE_WAYLAND) |
+ wl_surface *wsurf_; |
+ wl_egl_window *wwindow_; |
+#endif |
DISALLOW_COPY_AND_ASSIGN(PbufferGLSurfaceEGL); |
}; |