| Index: cc/trees/layer_tree_host_common.cc
|
| diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc
|
| index 49bc13d95da3cfd13dbc086f9af9d35e03ac07fd..09882856e55e5dc2727ee9fe6809a1b39ae62094 100644
|
| --- a/cc/trees/layer_tree_host_common.cc
|
| +++ b/cc/trees/layer_tree_host_common.cc
|
| @@ -1897,10 +1897,6 @@ static void CalculateDrawPropertiesInternal(
|
| layer_draw_properties.screen_space_transform.PreconcatTransform
|
| (layer_draw_properties.target_space_transform);
|
|
|
| - // Adjusting text AA method during animation may cause repaints, which in-turn
|
| - // causes jank.
|
| - bool adjust_text_aa =
|
| - !animating_opacity_to_screen && !animating_transform_to_screen;
|
| bool layer_can_use_lcd_text = true;
|
| bool subtree_can_use_lcd_text = true;
|
| if (!globals.layers_always_allowed_lcd_text) {
|
| @@ -2145,8 +2141,7 @@ static void CalculateDrawPropertiesInternal(
|
| layer_draw_properties.render_target = layer->parent()->render_target();
|
| }
|
|
|
| - if (adjust_text_aa)
|
| - layer_draw_properties.can_use_lcd_text = layer_can_use_lcd_text;
|
| + layer_draw_properties.can_use_lcd_text = layer_can_use_lcd_text;
|
|
|
| gfx::Size content_size_affected_by_delta(layer->content_bounds());
|
|
|
|
|