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

Unified Diff: cc/trees/effect_node.h

Issue 2876473005: Get rid of two callsites of effect_tree.FindNodeIndexFromOwningLayerId. (Closed)
Patch Set: Created 3 years, 7 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/effect_node.h
diff --git a/cc/trees/effect_node.h b/cc/trees/effect_node.h
index 9d37b87f30ee52f898df2c82f686517eadae3daa..81ee42f1071f1964b371bee47d4f61cf9e043719 100644
--- a/cc/trees/effect_node.h
+++ b/cc/trees/effect_node.h
@@ -61,7 +61,9 @@ struct CC_EXPORT EffectNode {
bool subtree_has_copy_request;
int transform_id;
int clip_id;
- // Effect node id of which this effect contributes to.
+
+ // This is the id of the ancestor effect node that induces a
+ // RenderSurfaceImpl.
int target_id;
int mask_layer_id;
int closest_ancestor_with_copy_request_id;

Powered by Google App Engine
This is Rietveld 408576698