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 44b5fa4b79fb729710ad770ba385bfa4636e2704..f101bffa848ec1df0b70557bfe12c860b69667f7 100644 |
| --- a/cc/trees/draw_property_utils.cc |
| +++ b/cc/trees/draw_property_utils.cc |
| @@ -130,9 +130,8 @@ bool ComputeClipRectInTargetSpace(const LayerImpl* layer, |
| return false; |
| } |
| } else { |
| - if (property_trees->ComputeTransformToTarget(clip_node->target_transform_id, |
| - target_effect_node->id, |
| - &clip_to_target)) { |
| + if (property_trees->ComputeTransformFromTarget( |
| + target_node_id, clip_node->target_effect_id, &clip_to_target)) { |
|
jaydasika
2016/08/11 22:05:51
In this case, target_effect_node->id > clip_node->
|
| *clip_rect_in_target_space = MathUtil::ProjectClippedRect( |
| clip_to_target, clip_node->clip_in_target_space); |
| } else { |