diff options
Diffstat (limited to 'cc/trees/layer_tree_host_unittest_scroll.cc')
-rw-r--r-- | cc/trees/layer_tree_host_unittest_scroll.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/trees/layer_tree_host_unittest_scroll.cc b/cc/trees/layer_tree_host_unittest_scroll.cc index 82cee89..a185391 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)); |