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 4ab20288d0f02ca22173be11f92ddbcd53cca6fb..ea9097ee20509ec1aa8d1cda437132692d2f3a75 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -3666,6 +3666,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) { |