Index: cc/trees/layer_tree_host_common_unittest.cc |
diff --git a/cc/trees/layer_tree_host_common_unittest.cc b/cc/trees/layer_tree_host_common_unittest.cc |
index 82e34fac1ec028ad13e19b0c969c658957378103..7278b336e0b31376c5cf2781a75faaf97d748a52 100644 |
--- a/cc/trees/layer_tree_host_common_unittest.cc |
+++ b/cc/trees/layer_tree_host_common_unittest.cc |
@@ -284,7 +284,7 @@ TEST_F(LayerTreeHostCommonTest, TransformsForSingleLayer) { |
} |
TEST_F(LayerTreeHostCommonTest, TransformsAboutScrollOffset) { |
- const gfx::Vector2d kScrollOffset(50, 100); |
+ const gfx::ScrollOffset kScrollOffset(50, 100); |
const gfx::Vector2dF kScrollDelta(2.34f, 5.67f); |
const gfx::Vector2d kMaxScrollOffset(200, 200); |
const gfx::PointF kScrollLayerPosition(-kScrollOffset.x(), |
@@ -6587,7 +6587,7 @@ TEST_F(LayerTreeHostCommonTest, ClipParentScrolledInterveningLayer) { |
intervening->SetMasksToBounds(true); |
clip_parent->SetMasksToBounds(true); |
intervening->SetScrollClipLayerId(clip_parent->id()); |
- intervening->SetScrollOffset(gfx::Vector2d(3, 3)); |
+ intervening->SetScrollOffset(gfx::ScrollOffset(3, 3)); |
render_surface1->SetForceRenderSurface(true); |
render_surface2->SetForceRenderSurface(true); |