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

Unified Diff: cc/trees/draw_property_utils.cc

Issue 2636953002: cc: Compute RenderSurfaceImpl's ClipTreeIndex using its effect node (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « cc/layers/render_surface_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/draw_property_utils.cc
diff --git a/cc/trees/draw_property_utils.cc b/cc/trees/draw_property_utils.cc
index 84b3e8f4bece627682b93d9fb8ac024bb609e746..9251beff1996c91d2f706f0f0af62bc3ecaffe9a 100644
--- a/cc/trees/draw_property_utils.cc
+++ b/cc/trees/draw_property_utils.cc
@@ -1457,8 +1457,7 @@ void ComputeSurfaceDrawProperties(const PropertyTrees* property_trees,
const ClipNode* clip_node =
property_trees->clip_tree.Node(render_surface->ClipTreeIndex());
- SetSurfaceClipRect(property_trees->clip_tree.parent(clip_node),
- property_trees, render_surface);
+ SetSurfaceClipRect(clip_node, property_trees, render_surface);
}
#if DCHECK_IS_ON()
« no previous file with comments | « cc/layers/render_surface_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698