| Index: cc/trees/layer_tree_host_impl.cc
|
| diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
|
| index e0d2e26149d089785fae8fb3c501d32b5147a309..4d2f5a71511cf2985ab0825b0ec3c7e318d1173a 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -2660,9 +2660,7 @@ bool LayerTreeHostImpl::ScrollVerticallyByPage(const gfx::Point& viewport_point,
|
| if (!layer_impl->HasScrollbar(VERTICAL))
|
| continue;
|
|
|
| - float height = layer_impl->scroll_clip_layer()
|
| - ? layer_impl->scroll_clip_layer()->bounds().height()
|
| - : 0;
|
| + float height = layer_impl->clip_height();
|
|
|
| // These magical values match WebKit and are designed to scroll nearly the
|
| // entire visible content height but leave a bit of overlap.
|
|
|