| Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| index 025e444070fa6c55cdb04a0b071f4e326b27cf7d..98686ea825156d96b9f5222dbaced0d9ad2ba69b 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
|
| @@ -1602,10 +1602,11 @@ void PaintLayerScrollableArea::updateScrollableAreaSet(bool hasOverflow) {
|
| return;
|
|
|
| // FIXME: Does this need to be fixed later for OOPI?
|
| - bool isVisibleToHitTest = box().visibleToHitTesting();
|
| - if (HTMLFrameOwnerElement* owner = frame->deprecatedLocalOwner())
|
| - isVisibleToHitTest &=
|
| - owner->layoutObject() && owner->layoutObject()->visibleToHitTesting();
|
| + bool isVisibleToHitTest = box().style()->visibleToHitTesting();
|
| + if (HTMLFrameOwnerElement* owner = frame->deprecatedLocalOwner()) {
|
| + isVisibleToHitTest &= owner->layoutObject() &&
|
| + owner->layoutObject()->style()->visibleToHitTesting();
|
| + }
|
|
|
| bool didScrollOverflow = m_scrollsOverflow;
|
|
|
|
|