| Index: cc/layer_tree_host_impl_unittest.cc
|
| diff --git a/cc/layer_tree_host_impl_unittest.cc b/cc/layer_tree_host_impl_unittest.cc
|
| index ee2e15af8d8afb79acde35a89558f7f04d35bd75..3d7e825a2ac2c6e963bb824d063618308d2026a4 100644
|
| --- a/cc/layer_tree_host_impl_unittest.cc
|
| +++ b/cc/layer_tree_host_impl_unittest.cc
|
| @@ -487,7 +487,7 @@ TEST_P(LayerTreeHostImplTest, maxScrollOffsetChangedByDeviceScaleFactor)
|
|
|
| float deviceScaleFactor = 2;
|
| gfx::Size layoutViewport(25, 25);
|
| - gfx::Size deviceViewport(gfx::ToFlooredSize(layoutViewport.Scale(deviceScaleFactor)));
|
| + gfx::Size deviceViewport(gfx::ToFlooredSize(gfx::ScaleSize(layoutViewport, deviceScaleFactor)));
|
| m_hostImpl->setViewportSize(layoutViewport, deviceViewport);
|
| m_hostImpl->setDeviceScaleFactor(deviceScaleFactor);
|
| EXPECT_EQ(m_hostImpl->rootLayer()->maxScrollOffset(), gfx::Vector2d(25, 25));
|
|
|