Index: cc/trees/layer_tree_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_impl_unittest.cc b/cc/trees/layer_tree_impl_unittest.cc |
index 52f8e0a514a7eda7af7a99fd622022735efe6f2a..2131d4c7288dd3db8f4da64c3e5596d11d09edd0 100644 |
--- a/cc/trees/layer_tree_impl_unittest.cc |
+++ b/cc/trees/layer_tree_impl_unittest.cc |
@@ -1795,8 +1795,9 @@ TEST_F(LayerTreeImplTest, |
host_impl().SetViewportSize(scaled_bounds_for_root); |
host_impl().SetDeviceScaleFactor(device_scale_factor); |
- host_impl().active_tree()->SetPageScaleFactorAndLimits( |
+ host_impl().active_tree()->PushPageScaleFromMainThread( |
page_scale_factor, page_scale_factor, page_scale_factor); |
+ host_impl().SetPageScaleOnActiveTree(page_scale_factor); |
host_impl().active_tree()->SetRootLayer(root.Pass()); |
host_impl().active_tree()->SetViewportLayersFromIds(Layer::INVALID_ID, 1, 1, |
Layer::INVALID_ID); |
@@ -2299,8 +2300,9 @@ TEST_F(LayerTreeImplTest, SelectionBoundsForScaledLayers) { |
host_impl().SetViewportSize(scaled_bounds_for_root); |
host_impl().SetDeviceScaleFactor(device_scale_factor); |
- host_impl().active_tree()->SetPageScaleFactorAndLimits( |
+ host_impl().active_tree()->PushPageScaleFromMainThread( |
page_scale_factor, page_scale_factor, page_scale_factor); |
+ host_impl().SetPageScaleOnActiveTree(page_scale_factor); |
host_impl().active_tree()->SetRootLayer(root.Pass()); |
host_impl().active_tree()->SetViewportLayersFromIds(Layer::INVALID_ID, 1, 1, |
Layer::INVALID_ID); |