| 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 3500e88bb3e7c46ec9ed41f18ba9b162c2bb6db3..fe60db1dc6e8341e6490fa8ce268d058e8bb152d 100644
|
| --- a/cc/layer_tree_host_impl_unittest.cc
|
| +++ b/cc/layer_tree_host_impl_unittest.cc
|
| @@ -534,23 +534,6 @@ TEST_P(LayerTreeHostImplTest, scrollByReturnsCorrectValue)
|
| EXPECT_TRUE(m_hostImpl->scrollBy(gfx::Point(), gfx::Vector2d(5000, 5000)));
|
| }
|
|
|
| -TEST_P(LayerTreeHostImplTest, maxScrollOffsetChangedByDeviceScaleFactor)
|
| -{
|
| - setupScrollAndContentsLayers(gfx::Size(100, 100));
|
| -
|
| - float deviceScaleFactor = 2;
|
| - gfx::Size layoutViewport(25, 25);
|
| - 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));
|
| -
|
| - deviceScaleFactor = 1;
|
| - m_hostImpl->setViewportSize(layoutViewport, layoutViewport);
|
| - m_hostImpl->setDeviceScaleFactor(deviceScaleFactor);
|
| - EXPECT_EQ(m_hostImpl->rootLayer()->maxScrollOffset(), gfx::Vector2d(75, 75));
|
| -}
|
| -
|
| TEST_P(LayerTreeHostImplTest, clearRootRenderSurfaceAndHitTestTouchHandlerRegion)
|
| {
|
| setupScrollAndContentsLayers(gfx::Size(100, 100));
|
|
|