| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index 89fd2d55ca862fd8b6f4e7e78161f177f9810990..57f517c40484e71d9a0c381c6f7d3a5091767411 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -1063,7 +1063,7 @@ LayoutBox* LayoutBox::findAutoscrollable(LayoutObject* layoutObject) {
|
| !(layoutObject->isBox() && toLayoutBox(layoutObject)->canAutoscroll())) {
|
| // Do not start autoscroll when the node is inside a fixed-position element.
|
| if (layoutObject->isBox() && toLayoutBox(layoutObject)->hasLayer() &&
|
| - toLayoutBox(layoutObject)->layer()->sticksToViewport()) {
|
| + toLayoutBox(layoutObject)->layer()->fixedToViewport()) {
|
| return nullptr;
|
| }
|
|
|
|
|