| 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 07ed841b6da935df6fdf36130c64ed18d28fd807..6830f3458e6071f4eacbe117aa4a134cc1f57969 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;
|
| }
|
|
|
|
|