| Index: Source/core/layout/LayoutBox.cpp
|
| diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp
|
| index 82bde7e69164df0063623b8a83b209648da038f2..2f5ef31f8d2ef39a373b88e9c532e1ec8ad95970 100644
|
| --- a/Source/core/layout/LayoutBox.cpp
|
| +++ b/Source/core/layout/LayoutBox.cpp
|
| @@ -107,15 +107,6 @@ DeprecatedPaintLayerType LayoutBox::layerTypeRequired() const
|
| || !style()->hasAutoZIndex() || style()->shouldCompositeForCurrentAnimations())
|
| return NormalDeprecatedPaintLayer;
|
|
|
| - // Ensure that explicit use of scroll-blocks-on creates a Layer (since we might need
|
| - // it to be composited).
|
| - if (style()->hasScrollBlocksOn()) {
|
| - if (isDocumentElement()) {
|
| - ASSERT(style()->scrollBlocksOn() == view()->style()->scrollBlocksOn());
|
| - return NoDeprecatedPaintLayer;
|
| - }
|
| - return NormalDeprecatedPaintLayer;
|
| - }
|
| if (hasOverflowClip())
|
| return OverflowClipDeprecatedPaintLayer;
|
|
|
|
|