| Index: cc/picture_pile_impl.h
|
| diff --git a/cc/picture_pile_impl.h b/cc/picture_pile_impl.h
|
| index 952de140ef922bad56bcc7e236cab5c6865e2314..8b023b468d2580be0a1df8acc7fd79711fd179d5 100644
|
| --- a/cc/picture_pile_impl.h
|
| +++ b/cc/picture_pile_impl.h
|
| @@ -48,7 +48,18 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase {
|
| slow_down_raster_scale_factor_for_debug_ = factor;
|
| }
|
|
|
| - bool IsCheapInRect(gfx::Rect content_rect, float contents_scale) const;
|
| + struct Analysis {
|
| + Analysis();
|
| +
|
| + bool is_solid_color;
|
| + bool is_transparent;
|
| + bool is_cheap_to_raster;
|
| + SkColor solid_color;
|
| + };
|
| +
|
| + void AnalyzeInRect(const gfx::Rect& content_rect,
|
| + float contents_scale,
|
| + Analysis* analysis);
|
|
|
| protected:
|
| friend class PicturePile;
|
|
|