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 8a5a552cee1be34d5a7b4f8a5c238ddc39774f36..9c898eaad2ab2ebd5f58b46915a8b2ac03d0712e 100644 |
--- a/cc/trees/layer_tree_host_common.cc |
+++ b/cc/trees/layer_tree_host_common.cc |
@@ -1754,6 +1754,14 @@ static void CalculateDrawPropertiesInternal( |
combined_maximum_animation_contents_scale, |
animating_transform_to_screen); |
+ layer_draw_properties.ideal_contents_scale = ideal_contents_scale; |
+ layer_draw_properties.maximum_animation_contents_scale = |
+ combined_maximum_animation_contents_scale; |
+ layer_draw_properties.page_scale = |
+ data_from_ancestor.in_subtree_of_page_scale_application_layer |
+ ? globals.page_scale_factor |
+ : 1.f; |
+ |
// The draw_transform that gets computed below is effectively the layer's |
// draw_transform, unless the layer itself creates a render_surface. In that |
// case, the render_surface re-parents the transforms. |