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

Unified Diff: cc/trees/property_tree.cc

Issue 1864183002: cc: Main thread skip single layers instead of subtrees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the dependency problem 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/trees/property_tree.cc
diff --git a/cc/trees/property_tree.cc b/cc/trees/property_tree.cc
index bc019dcd8a5dc4ef7990fd65159cf96017629669..f3c49de37bbea0bbdcccd44fdbf62eaa5e600a68 100644
--- a/cc/trees/property_tree.cc
+++ b/cc/trees/property_tree.cc
@@ -440,6 +440,7 @@ EffectNodeData::EffectNodeData()
has_background_filters(false),
node_or_ancestor_has_background_filters(false),
to_screen_opacity_is_animated(false),
+ to_screen_opacity_can_animate_on_impl(false),
hidden_by_backface_visibility(false),
double_sided(false),
is_drawn(true),
@@ -461,6 +462,8 @@ bool EffectNodeData::operator==(const EffectNodeData& other) const {
node_or_ancestor_has_background_filters ==
other.node_or_ancestor_has_background_filters &&
to_screen_opacity_is_animated == other.to_screen_opacity_is_animated &&
+ to_screen_opacity_can_animate_on_impl ==
+ other.to_screen_opacity_can_animate_on_impl &&
hidden_by_backface_visibility == other.hidden_by_backface_visibility &&
double_sided == other.double_sided && is_drawn == other.is_drawn &&
has_animated_opacity == other.has_animated_opacity &&
@@ -481,6 +484,8 @@ void EffectNodeData::ToProtobuf(proto::TreeNode* proto) const {
data->set_node_or_ancestor_has_background_filters(
node_or_ancestor_has_background_filters);
data->set_to_screen_opacity_is_animated(to_screen_opacity_is_animated);
+ data->set_to_screen_opacity_can_animate_on_impl(
+ to_screen_opacity_can_animate_on_impl);
data->set_hidden_by_backface_visibility(hidden_by_backface_visibility);
data->set_double_sided(double_sided);
data->set_is_drawn(is_drawn);
@@ -504,6 +509,8 @@ void EffectNodeData::FromProtobuf(const proto::TreeNode& proto) {
node_or_ancestor_has_background_filters =
data.node_or_ancestor_has_background_filters();
to_screen_opacity_is_animated = data.to_screen_opacity_is_animated();
+ to_screen_opacity_can_animate_on_impl =
+ data.to_screen_opacity_can_animate_on_impl();
hidden_by_backface_visibility = data.hidden_by_backface_visibility();
double_sided = data.double_sided();
is_drawn = data.is_drawn();

Powered by Google App Engine
This is Rietveld 408576698