| Index: cc/layers/scrollbar_layer.cc
|
| diff --git a/cc/layers/scrollbar_layer.cc b/cc/layers/scrollbar_layer.cc
|
| index 575131566ebe40d72eda6800a37ee71caa7e1245..1939772fb41855ebf2412c60a6040d9b0d496bb0 100644
|
| --- a/cc/layers/scrollbar_layer.cc
|
| +++ b/cc/layers/scrollbar_layer.cc
|
| @@ -258,7 +258,7 @@ gfx::Rect ScrollbarLayer::ScrollbarLayerRectToContentRect(
|
| layer_rect, contents_scale_y(), contents_scale_y());
|
| // We should never return a rect bigger than the content_bounds().
|
| gfx::Size clamped_size = expanded_rect.size();
|
| - clamped_size.ClampToMax(content_bounds());
|
| + clamped_size.SetToMin(content_bounds());
|
| expanded_rect.set_size(clamped_size);
|
| return expanded_rect;
|
| }
|
|
|