Index: cc/layers/layer.cc |
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc |
index 57c055b7fea3576c25ab680009ad6efe46a4f9c6..96b22bddd5bd24d05c133559e3c76661847fe19a 100644 |
--- a/cc/layers/layer.cc |
+++ b/cc/layers/layer.cc |
@@ -40,6 +40,7 @@ Layer::Layer() |
: needs_push_properties_(false), |
num_dependents_need_push_properties_(false), |
stacking_order_changed_(false), |
+ includes_first_paint_invalidation_(false), |
// Layer IDs start from 1. |
layer_id_(g_next_layer_id.GetNext() + 1), |
ignore_set_needs_commit_(false), |
@@ -992,6 +993,8 @@ void Layer::PushPropertiesTo(LayerImpl* layer) { |
// union) any update changes that have occurred on the main thread. |
update_rect_.Union(layer->update_rect()); |
layer->SetUpdateRect(update_rect_); |
+ layer->SetIncludesFirstPaintInvalidation(includes_first_paint_invalidation_); |
+ includes_first_paint_invalidation_ = false; |
layer->SetStackingOrderChanged(stacking_order_changed_); |