| 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 11dc3c44a8cbb4f30a2dccb3b745f375ba224e6d..9c97df4e585a7531ee65193bf9feae8d01f24cc1 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| @@ -2451,8 +2451,6 @@ bool PaintLayer::childBackgroundIsKnownToBeOpaqueInRect(const LayoutRect& localR
|
|
|
| bool PaintLayer::shouldBeSelfPaintingLayer() const
|
| {
|
| - if (layoutObject()->isLayoutPart() && toLayoutPart(layoutObject())->requiresAcceleratedCompositing())
|
| - return true;
|
| return m_layerType == NormalPaintLayer
|
| || (m_scrollableArea && m_scrollableArea->hasOverlayScrollbars())
|
| || needsCompositedScrolling();
|
|
|