Index: cc/resources/picture_pile_base.h |
diff --git a/cc/resources/picture_pile_base.h b/cc/resources/picture_pile_base.h |
index fb6cf5f029bdd55f8b3a01d550886c431b59d54e..56fa2013796f9cf9765b54eb9d248f1c55ecc8d6 100644 |
--- a/cc/resources/picture_pile_base.h |
+++ b/cc/resources/picture_pile_base.h |
@@ -50,6 +50,8 @@ class CC_EXPORT PicturePileBase : public base::RefCounted<PicturePileBase> { |
// If this pile has ever contained any recordings with text. |
bool has_text() const { return has_text_; } |
+ bool is_solid_color() const { return is_solid_color_; } |
danakj
2014/09/15 16:32:31
nit: whitespace above
hendrikw
2014/09/15 16:59:40
Acknowledged.
|
+ SkColor get_solid_color() const { return solid_color_; } |
danakj
2014/09/15 16:32:31
style nit: accessors of this form should match the
hendrikw
2014/09/15 16:59:40
Acknowledged.
|
void set_is_mask(bool is_mask) { is_mask_ = is_mask; } |
bool is_mask() const { return is_mask_; } |
@@ -123,6 +125,8 @@ class CC_EXPORT PicturePileBase : public base::RefCounted<PicturePileBase> { |
bool has_any_recordings_; |
bool has_text_; |
bool is_mask_; |
+ bool is_solid_color_; |
+ SkColor solid_color_; |
private: |
void SetBufferPixels(int buffer_pixels); |