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 4265852bc64dcbcd41b4ff229e49a871c644774e..9827ef4f23b74bfe435803879bb92928c3035e96 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
@@ -1665,15 +1665,8 @@ void PaintLayerScrollableArea::updateScrollableAreaSet(bool hasOverflow) { |
if (!frameView) |
return; |
- // FIXME: Does this need to be fixed later for OOPI? |
bool isVisibleToHitTest = box().style()->visibleToHitTesting(); |
- if (HTMLFrameOwnerElement* owner = frame->deprecatedLocalOwner()) { |
- isVisibleToHitTest &= owner->layoutObject() && |
- owner->layoutObject()->style()->visibleToHitTesting(); |
- } |
- |
bool didScrollOverflow = m_scrollsOverflow; |
- |
m_scrollsOverflow = hasOverflow && isVisibleToHitTest; |
if (didScrollOverflow == scrollsOverflow()) |
return; |