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

Unified Diff: cc/trees/property_tree_builder.cc

Issue 822713002: Update from https://crrev.com/309415 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 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/property_tree_builder.cc
diff --git a/cc/trees/property_tree_builder.cc b/cc/trees/property_tree_builder.cc
index 25f29f1bdc25e99c4812f99e18521ab7dd759bfd..cd0e52bfedae114fe981889b368c04cf7229753f 100644
--- a/cc/trees/property_tree_builder.cc
+++ b/cc/trees/property_tree_builder.cc
@@ -112,7 +112,7 @@ void AddTransformNodeIfNeeded(const DataForRecursion& data_from_ancestor,
const bool is_fixed = layer->position_constraint().is_fixed_position();
const bool has_significant_transform =
- !layer->transform().IsIdentityOrTranslation();
+ !layer->transform().IsIdentityOr2DTranslation();
const bool has_animated_transform =
layer->layer_animation_controller()->IsAnimatingProperty(

Powered by Google App Engine
This is Rietveld 408576698