Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index 0ce5d0e0cf526aa3885d15b1aba47b2cf9d0584c..eca7042658023acaddca0b7215f5cfeab5c1f61d 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -3644,6 +3644,13 @@ void LayerTreeHostImpl::TreeLayerTransformIsPotentiallyAnimatingChanged( |
layer->OnTransformIsPotentiallyAnimatingChanged(is_animating); |
} |
+bool LayerTreeHostImpl::AnimationsPreserveAxisAlignment( |
+ const LayerImpl* layer) const { |
+ return animation_host_ |
+ ? animation_host_->AnimationsPreserveAxisAlignment(layer->id()) |
+ : true; |
+} |
+ |
void LayerTreeHostImpl::SetLayerFilterMutated(int layer_id, |
LayerTreeType tree_type, |
const FilterOperations& filters) { |