| Index: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| index 6fde443334dd11e05976d3406fb927cb3e945a76..e0d276c1d2c42cf8661c3608c1b50ba38aade4b5 100644
|
| --- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| +++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| @@ -1114,10 +1114,10 @@ bool ScrollingCoordinator::hasVisibleSlowRepaintViewportConstrainedObjects(
|
| layoutObject->style()->position() == StickyPosition);
|
| PaintLayer* layer = toLayoutBoxModelObject(layoutObject)->layer();
|
|
|
| - // Whether the Layer scrolls with the viewport is a tree-depenent
|
| + // Whether the Layer sticks to the viewport is a tree-depenent
|
| // property and our viewportConstrainedObjects collection is maintained
|
| // with only LayoutObject-level information.
|
| - if (!layer->scrollsWithViewport())
|
| + if (!layer->sticksToViewport())
|
| continue;
|
|
|
| // If the whole subtree is invisible, there's no reason to scroll on
|
|
|