| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index dc0eb16feb28cd9d168cd7b600fc6ff9aa9c4a82..05732b3a91342c5d4124dba31d22809361e44151 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -1013,12 +1013,13 @@ bool LayoutBox::mapScrollingContentsRectToBoxSpace(LayoutRect& rect, ApplyOverfl
|
| if (!hasOverflowClip())
|
| return true;
|
|
|
| + if (applyOverflowClip == ApplyNonScrollOverflowClip && scrollsOverflow()) {
|
| + return true;
|
| + }
|
| +
|
| LayoutSize offset = LayoutSize(-scrolledContentOffset());
|
| rect.move(offset);
|
|
|
| - if (applyOverflowClip == ApplyNonScrollOverflowClip && scrollsOverflow())
|
| - return true;
|
| -
|
| LayoutRect clipRect = overflowClipRect(LayoutPoint());
|
|
|
| bool doesIntersect;
|
|
|