| Index: cc/layers/layer.h
|
| diff --git a/cc/layers/layer.h b/cc/layers/layer.h
|
| index a5985b2c6e18798b1efb0364e0fbd85b420f37a3..1c0ac77a2e1f71b26c26552986798b23575c0639 100644
|
| --- a/cc/layers/layer.h
|
| +++ b/cc/layers/layer.h
|
| @@ -508,6 +508,11 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
|
| void OnOpacityIsPotentiallyAnimatingChanged(bool has_potential_animation);
|
| bool HasActiveAnimationForTesting() const;
|
|
|
| + void SetHasWillChangeTransformHint(bool has_will_change);
|
| + bool has_will_change_transform_hint() const {
|
| + return has_will_change_transform_hint_;
|
| + }
|
| +
|
| protected:
|
| friend class LayerImpl;
|
| friend class TreeSynchronizer;
|
| @@ -644,6 +649,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
|
| bool force_render_surface_for_testing_ : 1;
|
| bool has_render_surface_ : 1;
|
| bool subtree_property_changed_ : 1;
|
| + bool has_will_change_transform_hint_ : 1;
|
| Region non_fast_scrollable_region_;
|
| Region touch_event_handler_region_;
|
| gfx::PointF position_;
|
|
|