| Index: cc/resources/picture_pile_impl.h
|
| diff --git a/cc/resources/picture_pile_impl.h b/cc/resources/picture_pile_impl.h
|
| index 75ee5363cfdd7dd569298825affcc388c22f4cdf..632ad8a4b4a20c6888e768660a46160d3a61b67b 100644
|
| --- a/cc/resources/picture_pile_impl.h
|
| +++ b/cc/resources/picture_pile_impl.h
|
| @@ -58,6 +58,16 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase {
|
|
|
| skia::RefPtr<SkPicture> GetFlattenedPicture();
|
|
|
| + // If the layer had ever animated, this will be set to true.
|
| + bool will_be_used_for_transform_animation() const {
|
| + return will_be_used_for_transform_animation_;
|
| + }
|
| + void set_will_be_used_for_transform_animation(
|
| + bool will_be_used_for_transform_animation) {
|
| + will_be_used_for_transform_animation_ =
|
| + will_be_used_for_transform_animation;
|
| + }
|
| +
|
| struct CC_EXPORT Analysis {
|
| Analysis();
|
| ~Analysis();
|
| @@ -124,6 +134,8 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase {
|
| RenderingStatsInstrumentation* rendering_stats_instrumentation,
|
| bool is_analysis) const;
|
|
|
| + bool will_be_used_for_transform_animation_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(PicturePileImpl);
|
| };
|
|
|
|
|