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

Unified Diff: cc/trees/clip_node.cc

Issue 2490273004: Move cc::ClipNode::target_is_clipped to cc::EffectNode (Closed)
Patch Set: one more todo comment Created 4 years, 1 month 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/clip_node.h ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/clip_node.cc
diff --git a/cc/trees/clip_node.cc b/cc/trees/clip_node.cc
index 0401159683521797e04f9b0434e5853edb65142d..41e6618db2b2eda228e8531ab0579cd65ffdf1dc 100644
--- a/cc/trees/clip_node.cc
+++ b/cc/trees/clip_node.cc
@@ -19,7 +19,6 @@ ClipNode::ClipNode()
target_transform_id(-1),
target_effect_id(-1),
layer_clipping_uses_only_local_clip(false),
- target_is_clipped(false),
layers_are_clipped(false),
layers_are_clipped_when_surfaces_disabled(false),
resets_clip(false) {}
@@ -37,7 +36,6 @@ bool ClipNode::operator==(const ClipNode& other) const {
target_effect_id == other.target_effect_id &&
layer_clipping_uses_only_local_clip ==
other.layer_clipping_uses_only_local_clip &&
- target_is_clipped == other.target_is_clipped &&
layers_are_clipped == other.layers_are_clipped &&
layers_are_clipped_when_surfaces_disabled ==
other.layers_are_clipped_when_surfaces_disabled &&
@@ -55,7 +53,6 @@ void ClipNode::AsValueInto(base::trace_event::TracedValue* value) const {
value->SetInteger("target_effect_id", target_effect_id);
value->SetBoolean("layer_clipping_uses_only_local_clip",
layer_clipping_uses_only_local_clip);
- value->SetBoolean("target_is_clipped", target_is_clipped);
value->SetBoolean("layers_are_clipped", layers_are_clipped);
value->SetBoolean("layers_are_clipped_when_surfaces_disabled",
layers_are_clipped_when_surfaces_disabled);
« no previous file with comments | « cc/trees/clip_node.h ('k') | cc/trees/draw_property_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698