| Index: cc/trees/property_tree.h
|
| diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h
|
| index 404f498d4e3ca9ef4a0daeed0b2ca4101a756305..cb00e8adc5247fb777c48683a04d0ddf93d87764 100644
|
| --- a/cc/trees/property_tree.h
|
| +++ b/cc/trees/property_tree.h
|
| @@ -69,7 +69,13 @@ struct CC_EXPORT TransformNodeData {
|
| bool is_animated;
|
| bool to_screen_is_animated;
|
|
|
| - bool flattens;
|
| + // We don't necessarily create a transform node to apply flattening. If we've
|
| + // skipped flattening for an ancestor, we must flatten the transform we
|
| + // inherit, but we don't necessarily need to flatten our local transform. We
|
| + // must therefore use two values to describe the flattening required for the
|
| + // local and inherited transforms.
|
| + bool flattens_inherited_transform;
|
| + bool flattens_local_transform;
|
| bool scrolls;
|
|
|
| bool needs_sublayer_scale;
|
|
|