| Index: cc/layers/layer_impl.h
|
| diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
|
| index c4795d0996e1ac36e97a06ff3469c3bf75b1c775..24dc053ef962117470cfd811b27c9534e73f6ba7 100644
|
| --- a/cc/layers/layer_impl.h
|
| +++ b/cc/layers/layer_impl.h
|
| @@ -524,6 +524,11 @@ class CC_EXPORT LayerImpl {
|
|
|
| void ClearLinksToOtherLayers();
|
|
|
| + void SetHasWillChangeTransformHint(bool has_will_change);
|
| + bool has_will_change_transform_hint() const {
|
| + return has_will_change_transform_hint_;
|
| + }
|
| +
|
| protected:
|
| LayerImpl(LayerTreeImpl* layer_impl,
|
| int id,
|
| @@ -661,6 +666,7 @@ class CC_EXPORT LayerImpl {
|
| bool scrolls_drawn_descendant_;
|
| // If true, the layer or one of its descendants has a touch handler.
|
| bool layer_or_descendant_has_touch_handler_;
|
| + bool has_will_change_transform_hint_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(LayerImpl);
|
| };
|
|
|