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 23adb3e27190005eaf24509c7b014addd9322369..9d84be86cb0c43633b9c75e0f8561b28b8529179 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h |
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h |
@@ -744,7 +744,9 @@ private: |
void updateReflectionInfo(const ComputedStyle*); |
FilterEffectBuilder* updateFilterEffectBuilder() const; |
- bool requiresScrollableArea() const { return m_layoutObject->hasOverflowClip() || m_layoutObject->isLayoutView() || m_layoutObject->styleRef().resize() != RESIZE_NONE; } |
+ // 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(); } |
void updateScrollableArea(); |
void dirtyAncestorChainVisibleDescendantStatus(); |