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

Unified Diff: cc/trees/property_tree.cc

Issue 2822303003: cc : Compute subtree has copy requests before property tree building (Closed)
Patch Set: . Created 3 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
Index: cc/trees/property_tree.cc
diff --git a/cc/trees/property_tree.cc b/cc/trees/property_tree.cc
index 4d1ca75e38725d81b8a92cbc6e33368921b26a74..31523c319a48f20d64cd73b23fb21da8d4302718 100644
--- a/cc/trees/property_tree.cc
+++ b/cc/trees/property_tree.cc
@@ -986,7 +986,7 @@ bool EffectTree::HasCopyRequests() const {
void EffectTree::ClearCopyRequests() {
for (auto& node : nodes()) {
- node.num_copy_requests_in_subtree = 0;
+ node.subtree_has_copy_request = false;
node.has_copy_request = false;
}

Powered by Google App Engine
This is Rietveld 408576698