| 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 663bafd43d606dc22b1d77cb28b354bb405d56df..f689ddf175dcad7c8ca67b033eaad2adc3e1042e 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| @@ -2457,23 +2457,13 @@ bool PaintLayer::childBackgroundIsKnownToBeOpaqueInRect(const LayoutRect& localR
|
| return false;
|
| }
|
|
|
| -bool PaintLayer::isSelfPaintingLayerForIntrinsicOrScrollingReasons() const
|
| -{
|
| - return layoutObject()->layerTypeRequired() == NormalPaintLayer
|
| - || (m_scrollableArea && m_scrollableArea->hasOverlayScrollbars())
|
| - || needsCompositedScrolling();
|
| -}
|
| -
|
| bool PaintLayer::shouldBeSelfPaintingLayer() const
|
| {
|
| if (layoutObject()->isLayoutPart() && toLayoutPart(layoutObject())->requiresAcceleratedCompositing())
|
| return true;
|
| - return isSelfPaintingLayerForIntrinsicOrScrollingReasons();
|
| -}
|
| -
|
| -bool PaintLayer::isSelfPaintingOnlyBecauseIsCompositedPart() const
|
| -{
|
| - return shouldBeSelfPaintingLayer() && !isSelfPaintingLayerForIntrinsicOrScrollingReasons();
|
| + return layoutObject()->layerTypeRequired() == NormalPaintLayer
|
| + || (m_scrollableArea && m_scrollableArea->hasOverlayScrollbars())
|
| + || needsCompositedScrolling();
|
| }
|
|
|
| void PaintLayer::updateSelfPaintingLayer()
|
|
|