| Index: ui/compositor/layer.cc
|
| diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
|
| index 67886fcbe8c2c8c4bd925112d08d31cf7435f6a4..276f81029408d89baef5b153bae0ed4c3918f079 100644
|
| --- a/ui/compositor/layer.cc
|
| +++ b/ui/compositor/layer.cc
|
| @@ -744,7 +744,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);
|
| }
|
|
|