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..e0d9c16a23ff85643d31f1c09a597e95d5619ff7 100644 |
--- a/cc/resources/picture_pile_impl.h |
+++ b/cc/resources/picture_pile_impl.h |
@@ -58,6 +58,13 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase { |
skia::RefPtr<SkPicture> GetFlattenedPicture(); |
+ bool likely_to_be_used_for_transform_animation() const { |
+ return likely_to_be_used_for_transform_animation_; |
+ } |
+ void set_likely_to_be_used_for_transform_animation() { |
+ likely_to_be_used_for_transform_animation_ = true; |
+ } |
+ |
struct CC_EXPORT Analysis { |
Analysis(); |
~Analysis(); |
@@ -124,6 +131,8 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase { |
RenderingStatsInstrumentation* rendering_stats_instrumentation, |
bool is_analysis) const; |
+ bool likely_to_be_used_for_transform_animation_; |
+ |
DISALLOW_COPY_AND_ASSIGN(PicturePileImpl); |
}; |