Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 1491033002: Create RenderSurface on Effect Tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@alwayspt
Patch Set: rebase on master Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index 02583d286f1d0b7d8727b179a631715f7b636d10..a6a30d3046869932e1cb3d1d185aebfde64ba8e1 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -1842,6 +1842,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;

Powered by Google App Engine
This is Rietveld 408576698