| Index: cc/trees/draw_property_utils.cc
|
| diff --git a/cc/trees/draw_property_utils.cc b/cc/trees/draw_property_utils.cc
|
| index 1bcf17944720d8349de31abc8c676029ebd706e8..27eb425da9995d22ce9b3ac02f1f37b16c99cbdf 100644
|
| --- a/cc/trees/draw_property_utils.cc
|
| +++ b/cc/trees/draw_property_utils.cc
|
| @@ -899,7 +899,8 @@ void UpdatePropertyTrees(LayerTreeHost* layer_tree_host,
|
|
|
| void UpdatePropertyTreesAndRenderSurfaces(LayerImpl* root_layer,
|
| PropertyTrees* property_trees,
|
| - bool can_render_to_separate_surface) {
|
| + bool can_render_to_separate_surface,
|
| + bool can_adjust_raster_scales) {
|
| bool render_surfaces_need_update = false;
|
| if (property_trees->non_root_surfaces_enabled !=
|
| can_render_to_separate_surface) {
|
| @@ -907,6 +908,11 @@ void UpdatePropertyTreesAndRenderSurfaces(LayerImpl* root_layer,
|
| property_trees->transform_tree.set_needs_update(true);
|
| render_surfaces_need_update = true;
|
| }
|
| + if (property_trees->can_adjust_raster_scales != can_adjust_raster_scales) {
|
| + property_trees->can_adjust_raster_scales = can_adjust_raster_scales;
|
| + property_trees->transform_tree.set_needs_update(true);
|
| + render_surfaces_need_update = true;
|
| + }
|
| if (property_trees->transform_tree.needs_update()) {
|
| property_trees->clip_tree.set_needs_update(true);
|
| property_trees->effect_tree.set_needs_update(true);
|
|
|