Index: cc/resources/picture_pile.h |
diff --git a/cc/resources/picture_pile.h b/cc/resources/picture_pile.h |
index 4b6119297622e05929e79ab5298b8cb0c259cc22..87ea4876bdbb7660f9795efeca3ae71eb4740cf0 100644 |
--- a/cc/resources/picture_pile.h |
+++ b/cc/resources/picture_pile.h |
@@ -51,13 +51,20 @@ class CC_EXPORT PicturePile : public PicturePileBase { |
is_suitable_for_gpu_rasterization_ = false; |
} |
+ bool IsSolidColor() const { return is_solid_color_; } |
+ SkColor GetSolidColor() const { return solid_color_; } |
+ |
protected: |
virtual ~PicturePile(); |
private: |
friend class PicturePileImpl; |
+ void DetermineIfSolidColor(); |
+ |
bool is_suitable_for_gpu_rasterization_; |
+ bool is_solid_color_; |
+ SkColor solid_color_; |
DISALLOW_COPY_AND_ASSIGN(PicturePile); |
}; |