Index: cc/trees/layer_tree_impl.cc |
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc |
index e4ec3c987ac9f2f6f38e362a915377a2b478c99c..0fb6f83664007e69bc162d21845a15e72e35f231 100644 |
--- a/cc/trees/layer_tree_impl.cc |
+++ b/cc/trees/layer_tree_impl.cc |
@@ -215,7 +215,7 @@ void LayerTreeImpl::UpdateMaxScrollOffset() { |
// The viewport may be larger than the contents in some cases, such as |
// having a vertical scrollbar but no horizontal overflow. |
- max_scroll.ClampToMin(gfx::Vector2dF()); |
+ max_scroll.ClampToLowerBound(gfx::Vector2dF()); |
root_scroll_layer_->SetMaxScrollOffset(gfx::ToFlooredVector2d(max_scroll)); |
} |