Index: cc/trees/layer_tree_host_unittest_scroll.cc |
diff --git a/cc/trees/layer_tree_host_unittest_scroll.cc b/cc/trees/layer_tree_host_unittest_scroll.cc |
index 4f18d00eaf182d0ff5a3eee962769cecaf3d2fef..c40b06b77e33ea2185ca0c2739cec8479df7867c 100644 |
--- a/cc/trees/layer_tree_host_unittest_scroll.cc |
+++ b/cc/trees/layer_tree_host_unittest_scroll.cc |
@@ -1055,7 +1055,7 @@ class LayerTreeHostScrollTestScrollZeroMaxScrollOffset |
InputHandler::Gesture)); |
// Set max_scroll_offset = (0, 0). |
- scroll_layer->SetBounds(root->bounds()); |
+ scroll_layer->SetBounds(gfx::ToCeiledSize(root->bounds())); |
EXPECT_EQ(InputHandler::ScrollIgnored, |
scroll_layer->TryScroll(gfx::PointF(0.0f, 1.0f), |
InputHandler::Gesture)); |