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

Unified Diff: cc/trees/property_tree.h

Issue 2856043002: cc : Layers with singular transforms and copy request should be drawn (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.h
diff --git a/cc/trees/property_tree.h b/cc/trees/property_tree.h
index 86705350dbaea9c6f2d2cb90712b190fd39b367e..43d8d3913814097c613c4d5a1057884dfe504d03 100644
--- a/cc/trees/property_tree.h
+++ b/cc/trees/property_tree.h
@@ -378,8 +378,6 @@ class CC_EXPORT EffectTree final : public PropertyTree<EffectNode> {
bool HasCopyRequests() const;
void ClearCopyRequests();
- 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.
@@ -413,6 +411,8 @@ class CC_EXPORT EffectTree final : public PropertyTree<EffectNode> {
LayerTreeImpl* layer_tree_impl);
private:
+ void UpdateClosestAncestorWithCopyRequestId(EffectNode* node,
+ EffectNode* parent_node);
void UpdateOpacities(EffectNode* node, EffectNode* parent_node);
void UpdateIsDrawn(EffectNode* node, EffectNode* parent_node);
void UpdateBackfaceVisibility(EffectNode* node, EffectNode* parent_node);

Powered by Google App Engine
This is Rietveld 408576698