Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index b09cb3f4970792d56829a9899dcd48d048450527..910518844e2bb92939b8d1822cd455c82bf57632 100644 |
--- a/cc/layers/layer_impl.h |
+++ b/cc/layers/layer_impl.h |
@@ -469,8 +469,14 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
// Note this rect is in layer space (not content space). |
void SetUpdateRect(const gfx::RectF& update_rect); |
+ void SetIncludesFirstPaintInvalidation(bool b) { |
+ includes_first_paint_invalidation_ = b; |
+ } |
const gfx::RectF& update_rect() const { return update_rect_; } |
+ bool includes_first_paint_invalidation() const { |
+ return includes_first_paint_invalidation_; |
+ } |
void AddDamageRect(const gfx::RectF& damage_rect); |
@@ -686,6 +692,8 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
// Uses layer (not content) space. |
gfx::RectF update_rect_; |
+ bool includes_first_paint_invalidation_; |
+ |
// This rect is in layer space. |
gfx::RectF damage_rect_; |