| Index: third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| index f8daa6877695a91c3834e5ceb4b6615d1de1bd0b..dba4a46ee7fe29714c2fdf057045d0c3ff91b4aa 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
| @@ -1878,7 +1878,7 @@ void LayoutBlockFlow::addOverflowFromInlineChildren()
|
| {
|
| LayoutUnit endPadding = hasOverflowClip() ? paddingEnd() : LayoutUnit();
|
| // FIXME: Need to find another way to do this, since scrollbars could show when we don't want them to.
|
| - if (hasOverflowClip() && !endPadding && node() && node()->isRootEditableElement() && style()->isLeftToRightDirection())
|
| + if (hasOverflowClip() && !endPadding && node() && isRootEditableElement(*node()) && style()->isLeftToRightDirection())
|
| endPadding = LayoutUnit(1);
|
| for (RootInlineBox* curr = firstRootBox(); curr; curr = curr->nextRootBox()) {
|
| addLayoutOverflow(curr->paddedLayoutOverflowRect(endPadding));
|
|
|