Index: cc/trees/draw_property_utils.cc |
diff --git a/cc/trees/draw_property_utils.cc b/cc/trees/draw_property_utils.cc |
index c6ee0ab1f2ac1ade25b6e9ab6f2129c0a7488faf..01652a035ad00d8d8639c0fc77025e23ddf334c2 100644 |
--- a/cc/trees/draw_property_utils.cc |
+++ b/cc/trees/draw_property_utils.cc |
@@ -803,8 +803,8 @@ void ComputeClips(PropertyTrees* property_trees, |
if (parent_target_transform_node && |
parent_target_transform_node->id != clip_node->target_transform_id && |
non_root_surfaces_enabled) { |
- success &= property_trees->ComputeTransformToTarget( |
- parent_target_transform_node->id, clip_node->target_effect_id, |
+ success &= property_trees->ComputeTransformFromTarget( |
+ clip_node->target_transform_id, parent_clip_node->target_effect_id, |
&parent_to_current); |
// We don't have to apply surface contents scale when target is root. |
if (clip_node->target_effect_id != EffectTree::kContentsRootNodeId) { |