| Index: cc/layers/layer_impl.cc
|
| diff --git a/cc/layers/layer_impl.cc b/cc/layers/layer_impl.cc
|
| index e6e60f5f3ef7cc1e474c2b5c4a2aef192906b3b7..57d1cc72efeaf934caf5e8763d85aa3eb6040990 100644
|
| --- a/cc/layers/layer_impl.cc
|
| +++ b/cc/layers/layer_impl.cc
|
| @@ -69,7 +69,8 @@ LayerImpl::LayerImpl(LayerTreeImpl* tree_impl, int id)
|
| needs_push_properties_(false),
|
| num_dependents_need_push_properties_(0),
|
| sorting_context_id_(0),
|
| - current_draw_mode_(DRAW_MODE_NONE) {
|
| + current_draw_mode_(DRAW_MODE_NONE),
|
| + includes_first_paint_invalidation_(false) {
|
| DCHECK_GT(layer_id_, 0);
|
| DCHECK(layer_tree_impl_);
|
| layer_tree_impl_->RegisterLayer(this);
|
| @@ -591,6 +592,7 @@ void LayerImpl::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_);
|
|
|
| layer->SetStackingOrderChanged(stacking_order_changed_);
|
| layer->SetDebugInfo(debug_info_);
|
|
|