| Index: cc/layers/layer.cc
|
| diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
|
| index 88f2036fc8038144880d9942efe97e02a48f7b59..85459e6de06c34faec2cc43fbca27ee977b40c1d 100644
|
| --- a/cc/layers/layer.cc
|
| +++ b/cc/layers/layer.cc
|
| @@ -89,7 +89,8 @@ Layer::Layer()
|
| clip_parent_(nullptr),
|
| replica_layer_(nullptr),
|
| client_(nullptr),
|
| - num_unclipped_descendants_(0) {}
|
| + num_unclipped_descendants_(0),
|
| + has_will_change_transform_hint_(false) {}
|
|
|
| Layer::~Layer() {
|
| // Our parent should be holding a reference to us so there should be no
|
| @@ -1210,6 +1211,8 @@ void Layer::PushPropertiesTo(LayerImpl* layer) {
|
| update_rect_.Union(layer->update_rect());
|
| layer->SetUpdateRect(update_rect_);
|
|
|
| + layer->set_has_will_change_transform_hint(has_will_change_transform_hint());
|
| +
|
| // Reset any state that should be cleared for the next update.
|
| subtree_property_changed_ = false;
|
| update_rect_ = gfx::Rect();
|
|
|