| Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| index 2c36dae0d8530ea9e48d17285ac27814b58fa901..a1b946e245e29937a123a547d3ceaf9e23c9d85d 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| @@ -2903,7 +2903,7 @@ bool PaintLayer::ShouldBeSelfPaintingLayer() const {
|
|
|
| return GetLayoutObject().LayerTypeRequired() == kNormalPaintLayer ||
|
| (scrollable_area_ && scrollable_area_->HasOverlayScrollbars()) ||
|
| - NeedsCompositedScrolling();
|
| + ScrollsOverflow();
|
| }
|
|
|
| void PaintLayer::UpdateSelfPaintingLayer() {
|
|
|