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 a152ce0b839391bacab1770242d87ccd673ebe42..cbd252eb115cb7dbf14a9232250f54e04c9e10c5 100644 |
| --- a/cc/trees/draw_property_utils.cc |
| +++ b/cc/trees/draw_property_utils.cc |
| @@ -788,8 +788,10 @@ void UpdatePropertyTrees(PropertyTrees* property_trees, |
| property_trees->non_root_surfaces_enabled = can_render_to_separate_surface; |
| property_trees->transform_tree.set_needs_update(true); |
| } |
| - if (property_trees->transform_tree.needs_update()) |
| + if (property_trees->transform_tree.needs_update()) { |
| property_trees->clip_tree.set_needs_update(true); |
| + property_trees->effect_tree.set_needs_update(true); |
|
jaydasika
2016/05/19 17:07:58
I think it will be better if we call set_needs_upd
ajuma
2016/05/19 17:18:14
That's a good point. If we did that, we'd also hav
Peter Mayo
2016/05/19 17:33:20
It is not true that a translation can never change
jaydasika
2016/05/19 17:52:18
Ya, we will need to consider perspective also.
jaydasika
2016/05/19 17:52:18
Agreed, we should do the simple thing as this need
sunxd
2016/05/19 17:59:56
Yes, we can discuss about that after this CL.
|
| + } |
| ComputeTransforms(&property_trees->transform_tree); |
| ComputeClips(&property_trees->clip_tree, property_trees->transform_tree, |
| can_render_to_separate_surface); |