| Index: third_party/WebKit/Source/core/paint/PaintLayer.h
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h
|
| index 473f4583c086fff13d2dca5fc8ce5abccda588f6..ccd79f249db8096dacf60324f06c1af4a52dbc88 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.h
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
|
| @@ -740,9 +740,7 @@ private:
|
| void updateReflectionInfo(const ComputedStyle*);
|
| FilterEffectBuilder* updateFilterEffectBuilder() const;
|
|
|
| - // FIXME: We could lazily allocate our ScrollableArea based on style properties ('overflow', ...)
|
| - // but for now, we are always allocating it for LayoutBox as it's safer. crbug.com/467721.
|
| - bool requiresScrollableArea() const { return layoutBox(); }
|
| + bool requiresScrollableArea() const { return m_layoutObject->hasOverflowClip() || m_layoutObject->isLayoutView() || m_layoutObject->styleRef().resize() != RESIZE_NONE; }
|
| void updateScrollableArea();
|
|
|
| void dirtyAncestorChainVisibleDescendantStatus();
|
|
|