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..290639f8837076214e6d9943aaaa6f009169249c 100644 |
--- a/cc/resources/picture_pile_impl.h |
+++ b/cc/resources/picture_pile_impl.h |
@@ -58,6 +58,15 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase { |
skia::RefPtr<SkPicture> GetFlattenedPicture(); |
+ bool will_be_used_for_transform_animation() const { |
reveman
2014/10/20 18:38:29
is it guaranteed that this will be used for a tran
|
+ return will_be_used_for_transform_animation_; |
+ } |
+ void set_will_be_used_for_transform_animation( |
+ bool will_be_used_for_transform_animation) { |
reveman
2014/10/20 18:38:29
I don't see 'false' ever being passed to this func
|
+ will_be_used_for_transform_animation_ = |
+ will_be_used_for_transform_animation; |
+ } |
+ |
struct CC_EXPORT Analysis { |
Analysis(); |
~Analysis(); |
@@ -124,6 +133,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); |
}; |