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

Unified Diff: cc/layers/layer_impl.h

Issue 2895793002: Track transform animation content readiness on TransformNode. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | cc/layers/layer_impl.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index f497b7d533bdcbf1c8aa79d7adb2380372a0dc8e..c32c208ff13c6c885098244610ff9c81026912a0 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -426,14 +426,6 @@ class CC_EXPORT LayerImpl {
float GetIdealContentsScale() const;
- bool was_ever_ready_since_last_transform_animation() const {
- return was_ever_ready_since_last_transform_animation_;
- }
-
- void set_was_ever_ready_since_last_transform_animation(bool was_ready) {
- was_ever_ready_since_last_transform_animation_ = was_ready;
- }
-
void NoteLayerPropertyChanged();
void SetHasWillChangeTransformHint(bool has_will_change);
@@ -514,10 +506,6 @@ class CC_EXPORT LayerImpl {
bool draws_content_ : 1;
bool contributes_to_drawn_render_surface_ : 1;
- // This is true if and only if the layer was ever ready since it last animated
- // (all content was complete).
- bool was_ever_ready_since_last_transform_animation_ : 1;
-
static_assert(LAST_VIEWPORT_LAYER_TYPE < (1u << 3),
"enough bits for ViewportLayerType (viewport_layer_type_)");
uint8_t viewport_layer_type_ : 3; // ViewportLayerType
« no previous file with comments | « no previous file | cc/layers/layer_impl.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698