Index: ui/gl/gl_surface.h |
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h |
index 49d0acc632066e78021b1367634659e3bb76fb01..446579e23c3e85ced50c374042c7353a3d1b7016 100644 |
--- a/ui/gl/gl_surface.h |
+++ b/ui/gl/gl_surface.h |
@@ -25,6 +25,10 @@ class Transform; |
class VSyncProvider; |
} |
+namespace ui { |
+struct CARendererLayerParams; |
+} |
+ |
namespace gl { |
class GLContext; |
@@ -173,17 +177,7 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> { |
// Schedule a CALayer to be shown at swap time. |
// All arguments correspond to their CALayer properties. |
- virtual bool ScheduleCALayer(GLImage* contents_image, |
- const gfx::RectF& contents_rect, |
- float opacity, |
- unsigned background_color, |
- unsigned edge_aa_mask, |
- const gfx::RectF& rect, |
- bool is_clipped, |
- const gfx::RectF& clip_rect, |
- const gfx::Transform& transform, |
- int sorting_content_id, |
- unsigned filter); |
+ virtual bool ScheduleCALayer(const ui::CARendererLayerParams& params); |
virtual bool IsSurfaceless() const; |