summaryrefslogtreecommitdiffstats
path: root/chromium/cc/trees/effect_node.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-29 10:46:47 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-11-02 12:02:10 +0000
commit99677208ff3b216fdfec551fbe548da5520cd6fb (patch)
tree476a4865c10320249360e859d8fdd3e01833b03a /chromium/cc/trees/effect_node.cc
parentc30a6232df03e1efbd9f3b226777b07e087a1122 (diff)
BASELINE: Update Chromium to 86.0.4240.124
Change-Id: Ide0ff151e94cd665ae6521a446995d34a9d1d644 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/cc/trees/effect_node.cc')
-rw-r--r--chromium/cc/trees/effect_node.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/cc/trees/effect_node.cc b/chromium/cc/trees/effect_node.cc
index 9bae1e90b74..5109f2c03c5 100644
--- a/chromium/cc/trees/effect_node.cc
+++ b/chromium/cc/trees/effect_node.cc
@@ -35,6 +35,7 @@ EffectNode::EffectNode()
effect_changed(false),
subtree_has_copy_request(false),
is_fast_rounded_corner(false),
+ node_or_ancestor_has_filters(false),
render_surface_reason(RenderSurfaceReason::kNone),
transform_id(0),
clip_id(0),
@@ -59,6 +60,7 @@ bool EffectNode::operator==(const EffectNode& other) const {
backdrop_mask_element_id == other.backdrop_mask_element_id &&
rounded_corner_bounds == other.rounded_corner_bounds &&
is_fast_rounded_corner == other.is_fast_rounded_corner &&
+ node_or_ancestor_has_filters == other.node_or_ancestor_has_filters &&
// The specific reason is just for tracing/testing/debugging, so just
// check whether a render surface is needed.
HasRenderSurface() == other.HasRenderSurface() &&
@@ -153,6 +155,8 @@ void EffectNode::AsValueInto(base::trace_event::TracedValue* value) const {
value->SetString("backdrop_filters", backdrop_filters.ToString());
value->SetDouble("backdrop_filter_quality", backdrop_filter_quality);
value->SetBoolean("is_fast_rounded_corner", is_fast_rounded_corner);
+ value->SetBoolean("node_or_ancestor_has_filters",
+ node_or_ancestor_has_filters);
if (!rounded_corner_bounds.IsEmpty()) {
MathUtil::AddToTracedValue("rounded_corner_bounds", rounded_corner_bounds,
value);