| Index: cc/layers/layer_impl.h
|
| diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
|
| index b6f0b0510043fa82de10f4dbe7b43c7dcae91496..06498562c73118855bf99b114d3c35ba6bcae033 100644
|
| --- a/cc/layers/layer_impl.h
|
| +++ b/cc/layers/layer_impl.h
|
| @@ -458,6 +458,10 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
|
|
|
| const gfx::RectF& update_rect() const { return update_rect_; }
|
|
|
| + void AddDamageRect(const gfx::RectF& damage_rect);
|
| +
|
| + const gfx::RectF& damage_rect() const { return damage_rect_; }
|
| +
|
| virtual base::DictionaryValue* LayerTreeAsJson() const;
|
|
|
| void SetStackingOrderChanged(bool stacking_order_changed);
|
| @@ -659,6 +663,9 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
|
| // Uses layer (not content) space.
|
| gfx::RectF update_rect_;
|
|
|
| + // This rect is in layer space.
|
| + gfx::RectF damage_rect_;
|
| +
|
| // Manages animations for this layer.
|
| scoped_refptr<LayerAnimationController> layer_animation_controller_;
|
|
|
|
|