Index: services/gfx/compositor/graph/node_def.cc |
diff --git a/services/gfx/compositor/graph/node_def.cc b/services/gfx/compositor/graph/node_def.cc |
index c743e5dae5ed15215a795fecdb951d493560be5a..6a1dfc9a974083244d8bf59ee8bcbe6a2a86f066 100644 |
--- a/services/gfx/compositor/graph/node_def.cc |
+++ b/services/gfx/compositor/graph/node_def.cc |
@@ -144,7 +144,7 @@ void NodeDef::TraverseSnapshottedChildren(const SceneContent* content, |
for (uint32_t child_node_id : child_node_ids_) { |
const NodeDef* child_node = content->GetNode(child_node_id); |
DCHECK(child_node); |
- DCHECK(!snapshot->IsBlocked(child_node)); |
+ DCHECK(!snapshot->IsNodeBlocked(child_node)); |
if (!func(child_node)) |
return; |
} |
@@ -156,7 +156,7 @@ void NodeDef::TraverseSnapshottedChildren(const SceneContent* content, |
for (uint32_t child_node_id : child_node_ids_) { |
const NodeDef* child_node = content->GetNode(child_node_id); |
DCHECK(child_node); |
- if (!snapshot->IsBlocked(child_node) && !func(child_node)) |
+ if (!snapshot->IsNodeBlocked(child_node) && !func(child_node)) |
return; |
} |
return; |
@@ -169,7 +169,7 @@ void NodeDef::TraverseSnapshottedChildren(const SceneContent* content, |
for (uint32_t child_node_id : child_node_ids_) { |
const NodeDef* child_node = content->GetNode(child_node_id); |
DCHECK(child_node); |
- if (!snapshot->IsBlocked(child_node)) { |
+ if (!snapshot->IsNodeBlocked(child_node)) { |
func(child_node); // don't care about the result because we |
return; // always stop after the first one |
} |