| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index 675f1c02d1a881db52e732a89d1429ee9bb82fff..e96b994e8ad3908295464e6147d8a54640927340 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -1384,6 +1384,7 @@ void FrameView::invalidateBackgroundAttachmentFixedObjects()
|
|
|
| bool FrameView::invalidateViewportConstrainedObjects()
|
| {
|
| + bool fastPathAllowed = true;
|
| for (const auto& viewportConstrainedObject : *m_viewportConstrainedObjects) {
|
| LayoutObject* layoutObject = viewportConstrainedObject;
|
| LayoutItem layoutItem = LayoutItem(layoutObject);
|
| @@ -1410,9 +1411,9 @@ bool FrameView::invalidateViewportConstrainedObjects()
|
| // If the fixed layer has a blur/drop-shadow filter applied on at least one of its parents, we cannot
|
| // scroll using the fast path, otherwise the outsets of the filter will be moved around the page.
|
| if (layer->hasAncestorWithFilterThatMovesPixels())
|
| - return false;
|
| + fastPathAllowed = false;
|
| }
|
| - return true;
|
| + return fastPathAllowed;
|
| }
|
|
|
| bool FrameView::scrollContentsFastPath(const IntSize& scrollDelta)
|
|
|