summaryrefslogtreecommitdiffstats
path: root/cc/trees/draw_property_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/trees/draw_property_utils.cc')
-rw-r--r--cc/trees/draw_property_utils.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/trees/draw_property_utils.cc b/cc/trees/draw_property_utils.cc
index 2d79a5e..07270db 100644
--- a/cc/trees/draw_property_utils.cc
+++ b/cc/trees/draw_property_utils.cc
@@ -309,7 +309,7 @@ static inline bool SubtreeShouldBeSkipped(LayerImpl* layer,
// When we need to do a readback/copy of a layer's output, we can not skip
// it or any of its ancestors.
- if (layer->num_layer_or_descendants_with_copy_request() > 0)
+ if (layer->num_copy_requests_in_target_subtree() > 0)
return false;
// We cannot skip the the subtree if a descendant has a wheel or touch handler
@@ -357,7 +357,7 @@ static inline bool SubtreeShouldBeSkipped(Layer* layer,
// When we need to do a readback/copy of a layer's output, we can not skip
// it or any of its ancestors.
- if (layer->num_layer_or_descendants_with_copy_request() > 0)
+ if (layer->num_copy_requests_in_target_subtree() > 0)
return false;
// If the layer is not drawn, then skip it and its subtree.