| Index: cc/trees/property_tree_builder.cc
|
| diff --git a/cc/trees/property_tree_builder.cc b/cc/trees/property_tree_builder.cc
|
| index 1c4c7724eedc79ec8764c9303fc85a8a11ccc60a..4027cffcb9ec798a38fe8ae5831fc8ed77028e4a 100644
|
| --- a/cc/trees/property_tree_builder.cc
|
| +++ b/cc/trees/property_tree_builder.cc
|
| @@ -106,16 +106,6 @@ static inline bool IsRootLayer(const Layer* layer) {
|
| return !layer->parent();
|
| }
|
|
|
| -static bool HasInvertibleOrAnimatedTransform(Layer* layer) {
|
| - return layer->transform_is_invertible() ||
|
| - layer->HasPotentiallyRunningTransformAnimation();
|
| -}
|
| -
|
| -static bool HasInvertibleOrAnimatedTransformForTesting(LayerImpl* layer) {
|
| - return layer->transform().IsInvertible() ||
|
| - layer->HasPotentiallyRunningTransformAnimation();
|
| -}
|
| -
|
| static bool IsMetaInformationRecomputationNeeded(Layer* layer) {
|
| return layer->layer_tree_host()->needs_meta_info_recomputation();
|
| }
|
| @@ -133,12 +123,6 @@ static void PreCalculateMetaInformationInternal(
|
| if (layer->clip_parent())
|
| recursive_data->num_unclipped_descendants++;
|
|
|
| - if (!HasInvertibleOrAnimatedTransform(layer)) {
|
| - // Layers with singular transforms should not be drawn, the whole subtree
|
| - // can be skipped.
|
| - return;
|
| - }
|
| -
|
| for (size_t i = 0; i < layer->children().size(); ++i) {
|
| Layer* child_layer = layer->child_at(i);
|
|
|
| @@ -172,12 +156,6 @@ static void PreCalculateMetaInformationInternalForTesting(
|
| if (layer->test_properties()->clip_parent)
|
| recursive_data->num_unclipped_descendants++;
|
|
|
| - if (!HasInvertibleOrAnimatedTransformForTesting(layer)) {
|
| - // Layers with singular transforms should not be drawn, the whole subtree
|
| - // can be skipped.
|
| - return;
|
| - }
|
| -
|
| for (size_t i = 0; i < layer->children().size(); ++i) {
|
| LayerImpl* child_layer = layer->child_at(i);
|
|
|
|
|