| 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 eba60421ca7d8eb0768fca646f54c024499c0d8c..2d8b76547f427014d723e0cabd9fcb4e73367adf 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;
|
| }
|
|
|
|
|