Index: cc/trees/layer_tree_impl.cc |
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc |
index f7fee78b2b5f9d632a78e09c02cb850611e9514e..2a3f6580fbd033b95fa55d85c69dc15cf2c3bafb 100644 |
--- a/cc/trees/layer_tree_impl.cc |
+++ b/cc/trees/layer_tree_impl.cc |
@@ -1844,6 +1844,14 @@ bool LayerTreeImpl::TransformIsAnimatingOnImplOnly( |
: false; |
} |
+bool LayerTreeImpl::AnimationsPreserveAxisAlignment( |
+ const LayerImpl* layer) const { |
+ return layer_tree_host_impl_->animation_host() |
+ ? layer_tree_host_impl_->animation_host() |
+ ->AnimationsPreserveAxisAlignment(layer->id()) |
+ : true; |
+} |
+ |
bool LayerTreeImpl::HasOnlyTranslationTransforms(const LayerImpl* layer) const { |
LayerTreeType tree_type = |
IsActiveTree() ? LayerTreeType::ACTIVE : LayerTreeType::PENDING; |