Chromium Code Reviews| 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 dba7b506d8766c8363a1faed2d3bc6e813d6f253..c328497c467282fa8630bb9503ec83d741dfb935 100644 |
| --- a/cc/trees/layer_tree_host_common.cc |
| +++ b/cc/trees/layer_tree_host_common.cc |
| @@ -1169,7 +1169,7 @@ static void CalculateDrawPropertiesInternal( |
| layer_draw_properties.target_space_transform = combined_transform; |
| // M[draw] = M[parent] * LT * S[layer2content] |
| layer_draw_properties.target_space_transform.Scale |
| - (1.f / layer->contents_scale_x(), 1.f / layer->contents_scale_y()); |
| + (1.0 / layer->contents_scale_x(), 1.0 / layer->contents_scale_y()); |
|
danakj
2013/08/27 02:28:49
The input to this function is a double (at the mom
|
| // The layer's screen_space_transform represents the transform between root |
| // layer's "screen space" and local content space. |