Chromium Code Reviews| 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, |
|
jaydasika
2016/07/28 22:55:56
I am changing it to force it to take the dynamical
|
| &parent_to_current); |
| // We don't have to apply surface contents scale when target is root. |
| if (clip_node->target_effect_id != EffectTree::kContentsRootNodeId) { |