| Index: cc/input/page_scale_animation.cc
|
| diff --git a/cc/input/page_scale_animation.cc b/cc/input/page_scale_animation.cc
|
| index 1a7a24425ec3058ce303f9bcf2058b4b1b4522b6..a535c87ad979a686e1533b634f60a9e93a93b5ae 100644
|
| --- a/cc/input/page_scale_animation.cc
|
| +++ b/cc/input/page_scale_animation.cc
|
| @@ -149,8 +149,8 @@ void PageScaleAnimation::ClampTargetScrollOffset() {
|
| gfx::Vector2dF max_scroll_offset =
|
| gfx::RectF(root_layer_size_).bottom_right() -
|
| gfx::RectF(TargetViewportSize()).bottom_right();
|
| - target_scroll_offset_.ClampToMin(gfx::Vector2dF());
|
| - target_scroll_offset_.ClampToMax(max_scroll_offset);
|
| + target_scroll_offset_.SetToMax(gfx::Vector2dF());
|
| + target_scroll_offset_.SetToMin(max_scroll_offset);
|
| }
|
|
|
| gfx::SizeF PageScaleAnimation::StartViewportSize() const {
|
|
|