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

Unified Diff: cc/layers/layer_impl.h

Issue 1906003002: cc: Stop cache transform invertibility at Layer and LayerImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanup Created 4 years, 8 months 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/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index e44a585a1a2f8eeb50ad74a660f976327c7e7f5d..0287bfb1c220711962ff9b812b533cdc2ee49ea4 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -464,9 +464,6 @@ class CC_EXPORT LayerImpl {
bool TransformIsAnimatingOnImplOnly() const;
bool HasOnlyTranslationTransforms() const;
bool AnimationsPreserveAxisAlignment() const;
- void SetTransformAndInvertibility(const gfx::Transform& transform,
- bool transform_is_invertible);
- bool transform_is_invertible() const { return transform_is_invertible_; }
bool MaximumTargetScale(float* max_scale) const;
bool AnimationStartScale(float* start_scale) const;
@@ -674,9 +671,6 @@ class CC_EXPORT LayerImpl {
bool draws_content_ : 1;
bool hide_layer_and_subtree_ : 1;
- // Cache transform_'s invertibility.
- bool transform_is_invertible_ : 1;
-
// Set for the layer that other layers are fixed to.
bool is_container_for_fixed_position_layers_ : 1;
« cc/layers/layer.cc ('K') | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698