Index: cc/resources/picture_pile_impl.h |
diff --git a/cc/resources/picture_pile_impl.h b/cc/resources/picture_pile_impl.h |
index a9bef0c740f5c59acb64f2792355522ef01cc6c8..243601eafe07ba29ab135a859893cddc91fcaede 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); |
}; |