| 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 c3d76cbff054dcbb51fdf2c85fb24f7705210b7c..28cbd6e9aa9d95f088123204370801a96c812a62 100644
|
| --- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| +++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| @@ -905,7 +905,7 @@ void ScrollingCoordinator::computeTouchEventTargetRects(LayerHitTestRects& rects
|
| accumulateDocumentTouchEventTargetRects(rects, document);
|
| }
|
|
|
| -void ScrollingCoordinator::frameViewHasSlowRepaintObjectsDidChange(FrameView* frameView)
|
| +void ScrollingCoordinator::frameViewHasBackgroundAttachmentFixedObjectsDidChange(FrameView* frameView)
|
| {
|
| ASSERT(isMainThread());
|
| ASSERT(m_page);
|
| @@ -1031,8 +1031,8 @@ MainThreadScrollingReasons ScrollingCoordinator::mainThreadScrollingReasons() co
|
| if (!frameView)
|
| return reasons;
|
|
|
| - if (frameView->hasSlowRepaintObjects())
|
| - reasons |= HasSlowRepaintObjects;
|
| + if (frameView->hasBackgroundAttachmentFixedObjects())
|
| + reasons |= HasBackgroundAttachmentFixedObjects;
|
| FrameView::ScrollingReasons scrollingReasons = frameView->scrollingReasons();
|
| const bool mayBeScrolledByInput = (scrollingReasons == FrameView::Scrollable);
|
| const bool mayBeScrolledByScript = mayBeScrolledByInput || (scrollingReasons ==
|
| @@ -1053,8 +1053,8 @@ String ScrollingCoordinator::mainThreadScrollingReasonsAsText(MainThreadScrollin
|
| {
|
| StringBuilder stringBuilder;
|
|
|
| - if (reasons & ScrollingCoordinator::HasSlowRepaintObjects)
|
| - stringBuilder.appendLiteral("Has slow repaint objects, ");
|
| + if (reasons & ScrollingCoordinator::HasBackgroundAttachmentFixedObjects)
|
| + stringBuilder.appendLiteral("Has background-attachment:fixed, ");
|
| if (reasons & ScrollingCoordinator::HasNonLayerViewportConstrainedObjects)
|
| stringBuilder.appendLiteral("Has non-layer viewport-constrained objects, ");
|
| if (reasons & ScrollingCoordinator::ThreadedScrollingDisabled)
|
|
|