Index: cc/trees/property_tree.h |
diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h |
index de5cc2823deb92f7d5021aee6f88ab5690cda88e..52c90bcbdae96bfa68412f46791dcbccab940f8f 100644 |
--- a/cc/trees/property_tree.h |
+++ b/cc/trees/property_tree.h |
@@ -380,6 +380,11 @@ class CC_EXPORT EffectTree final : public PropertyTree<EffectNode> { |
int ClosestAncestorWithCopyRequest(int id) const; |
+ // Given the ids of two effect nodes that have render surfaces, returns the |
+ // id of the lowest common ancestor effect node that also has a render |
+ // surface. |
+ int LowestCommonAncestorWithRenderSurface(int id_1, int id_2) const; |
+ |
void AddMaskLayerId(int id); |
const std::vector<int>& mask_layer_ids() const { return mask_layer_ids_; } |