| Index: ui/compositor/layer.cc
|
| diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
|
| index 43c770ba79670ae0d859fee477fad486c10d198b..f2fc139ddf7ecd1090ce2c3d627cae67f5a5f69c 100644
|
| --- a/ui/compositor/layer.cc
|
| +++ b/ui/compositor/layer.cc
|
| @@ -832,7 +832,8 @@ void Layer::OnDelegatedFrameDamage(const gfx::Rect& damage_rect_in_dip) {
|
|
|
| void Layer::SetScrollable(Layer* parent_clip_layer,
|
| const base::Closure& on_scroll) {
|
| - cc_layer_->SetScrollClipLayerId(parent_clip_layer->cc_layer_->id());
|
| + cc_layer_->SetScrollClipAndCanOverscroll(parent_clip_layer->cc_layer_->id(),
|
| + true /* can_overscroll */);
|
| cc_layer_->set_did_scroll_callback(on_scroll);
|
| cc_layer_->SetUserScrollable(true, true);
|
| }
|
|
|