| Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| index f3710f0d20314c96e033feab385d84e7201682cc..eb31b06cd379b40d01c6759f70f2c9803712ccd1 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| @@ -1497,7 +1497,7 @@ static bool layerNeedsCompositedScrolling(PaintLayerScrollableArea::LCDTextMode
|
| // use integer scroll offsets locally when !layer->compositor()->preferCompositingToLCDTextEnabled(),
|
| // we do not check offsets accumulated from the root (including translates). crbug.com/644833
|
| bool backgroundSupportsLCDText = RuntimeEnabledFeatures::compositeOpaqueScrollersEnabled()
|
| - && layer->shouldPaintBackgroundOntoScrollingContentsLayer()
|
| + && layer->canPaintBackgroundOntoScrollingContentsLayer()
|
| && layer->backgroundIsKnownToBeOpaqueInRect(toLayoutBox(layer->layoutObject())->paddingBoxRect());
|
| if (mode == PaintLayerScrollableArea::ConsiderLCDText
|
| && !layer->compositor()->preferCompositingToLCDTextEnabled()
|
|
|