| Index: cc/solid_color_draw_quad.h
|
| diff --git a/cc/solid_color_draw_quad.h b/cc/solid_color_draw_quad.h
|
| index e81693623c00bb7caa9694dfa7374296424263ba..c8dd0c01d17501160b389ccbd8734707ef4e8935 100644
|
| --- a/cc/solid_color_draw_quad.h
|
| +++ b/cc/solid_color_draw_quad.h
|
| @@ -13,16 +13,25 @@
|
| namespace cc {
|
|
|
| class CC_EXPORT SolidColorDrawQuad : public DrawQuad {
|
| -public:
|
| - static scoped_ptr<SolidColorDrawQuad> create(const SharedQuadState*, const gfx::Rect&, SkColor);
|
| + public:
|
| + static scoped_ptr<SolidColorDrawQuad> Create();
|
|
|
| - SkColor color() const { return m_color; };
|
| + void SetNew(const SharedQuadState* shared_quad_state,
|
| + gfx::Rect rect,
|
| + SkColor color);
|
|
|
| - static const SolidColorDrawQuad* materialCast(const DrawQuad*);
|
| -private:
|
| - SolidColorDrawQuad(const SharedQuadState*, const gfx::Rect&, SkColor);
|
| + void SetAll(const SharedQuadState* shared_quad_state,
|
| + gfx::Rect rect,
|
| + gfx::Rect opaque_rect,
|
| + gfx::Rect visible_rect,
|
| + bool needs_blending,
|
| + SkColor color);
|
|
|
| - SkColor m_color;
|
| + SkColor color;
|
| +
|
| + static const SolidColorDrawQuad* MaterialCast(const DrawQuad*);
|
| + private:
|
| + SolidColorDrawQuad();
|
| };
|
|
|
| }
|
|
|