| Index: third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| index ef2a285c459bc41d31b6a6672773fa667c234f75..00192c6339801f290c7431551abf5232330f50a9 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| @@ -1026,4 +1026,13 @@ LayoutRect LayoutView::debugRect() const {
|
| return rect;
|
| }
|
|
|
| +bool LayoutView::paintedOutputOfObjectHasNoEffectRegardlessOfSize() const {
|
| + // Frame scroll corner is painted using LayoutView as the display item client.
|
| + if (!RuntimeEnabledFeatures::rootLayerScrollingEnabled() &&
|
| + (frameView()->horizontalScrollbar() || frameView()->verticalScrollbar()))
|
| + return false;
|
| +
|
| + return LayoutBlockFlow::paintedOutputOfObjectHasNoEffectRegardlessOfSize();
|
| +}
|
| +
|
| } // namespace blink
|
|
|