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

Unified Diff: cc/trees/property_tree.cc

Issue 1888073002: cc : Delete unused properties in effect node (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « cc/trees/property_tree.h ('k') | cc/trees/property_tree_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/property_tree.cc
diff --git a/cc/trees/property_tree.cc b/cc/trees/property_tree.cc
index c3d35a1b068953bc5501ac91cd9bde413cb72c06..91dd5c73a27d758af37a5b9b3c838ae5cfe5aa7c 100644
--- a/cc/trees/property_tree.cc
+++ b/cc/trees/property_tree.cc
@@ -450,8 +450,6 @@ EffectNodeData::EffectNodeData()
render_surface(nullptr),
has_copy_request(false),
has_background_filters(false),
- node_or_ancestor_has_background_filters(false),
- to_screen_opacity_is_animated(false),
hidden_by_backface_visibility(false),
double_sided(false),
is_drawn(true),
@@ -470,9 +468,6 @@ bool EffectNodeData::operator==(const EffectNodeData& other) const {
has_render_surface == other.has_render_surface &&
has_copy_request == other.has_copy_request &&
has_background_filters == other.has_background_filters &&
- node_or_ancestor_has_background_filters ==
- other.node_or_ancestor_has_background_filters &&
- to_screen_opacity_is_animated == other.to_screen_opacity_is_animated &&
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 &&
@@ -490,9 +485,6 @@ void EffectNodeData::ToProtobuf(proto::TreeNode* proto) const {
data->set_has_render_surface(has_render_surface);
data->set_has_copy_request(has_copy_request);
data->set_has_background_filters(has_background_filters);
- 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_hidden_by_backface_visibility(hidden_by_backface_visibility);
data->set_double_sided(double_sided);
data->set_is_drawn(is_drawn);
@@ -513,9 +505,6 @@ void EffectNodeData::FromProtobuf(const proto::TreeNode& proto) {
has_render_surface = data.has_render_surface();
has_copy_request = data.has_copy_request();
has_background_filters = data.has_background_filters();
- node_or_ancestor_has_background_filters =
- data.node_or_ancestor_has_background_filters();
- to_screen_opacity_is_animated = data.to_screen_opacity_is_animated();
hidden_by_backface_visibility = data.hidden_by_backface_visibility();
double_sided = data.double_sided();
is_drawn = data.is_drawn();
« no previous file with comments | « cc/trees/property_tree.h ('k') | cc/trees/property_tree_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698