Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(529)

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp

Issue 2658333002: Don't omit ScrollableAreas in non-clickable FrameViews. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/scrolling/scrollable-area-frame-scrolling-yes-display-none-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 632f22baaa07665d9f41519e789b558eac7727ce..566d72f847410969a7f382933f7661954dd61a78 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
@@ -1674,10 +1674,6 @@ void PaintLayerScrollableArea::updateScrollableAreaSet(bool hasOverflow) {
// FIXME: Does this need to be fixed later for OOPI?
skobes 2017/01/28 00:26:33 Remove this FIXME.
bool isVisibleToHitTest = box().style()->visibleToHitTesting();
- if (HTMLFrameOwnerElement* owner = frame->deprecatedLocalOwner()) {
- isVisibleToHitTest &= owner->layoutObject() &&
- owner->layoutObject()->style()->visibleToHitTesting();
- }
bool didScrollOverflow = m_scrollsOverflow;
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/scrolling/scrollable-area-frame-scrolling-yes-display-none-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698