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 22fbfeec29751cf4581dd83c4bdbd3a89b2e41d7..8a215dff4286e9706e061a864a7204f0e8bb9e8f 100644 |
--- a/cc/layer_tree_host_impl_unittest.cc |
+++ b/cc/layer_tree_host_impl_unittest.cc |
@@ -439,7 +439,7 @@ TEST_P(LayerTreeHostImplTest, nonFastScrollableRegionBasic) |
initializeRendererAndDrawFrame(); |
LayerImpl* root = m_hostImpl->rootLayer(); |
- root->setNonFastScrollableRegion(IntRect(0, 0, 50, 50)); |
+ root->setNonFastScrollableRegion(gfx::Rect(0, 0, 50, 50)); |
// All scroll types inside the non-fast scrollable region should fail. |
EXPECT_EQ(m_hostImpl->scrollBegin(IntPoint(25, 25), InputHandlerClient::Wheel), InputHandlerClient::ScrollOnMainThread); |
@@ -460,7 +460,7 @@ TEST_P(LayerTreeHostImplTest, nonFastScrollableRegionWithOffset) |
m_hostImpl->setViewportSize(gfx::Size(100, 100), gfx::Size(100, 100)); |
LayerImpl* root = m_hostImpl->rootLayer(); |
- root->setNonFastScrollableRegion(IntRect(0, 0, 50, 50)); |
+ root->setNonFastScrollableRegion(gfx::Rect(0, 0, 50, 50)); |
root->setPosition(gfx::PointF(-25, 0)); |
initializeRendererAndDrawFrame(); |