| 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 ebf74c5d0b7a6ed1cb1c50b66efdf1765339a10a..6eb9de45a6f9a9740fe28b4b458f4785af035b87 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -939,14 +939,14 @@ void LayoutBox::computeSelfHitTestRects(Vector<LayoutRect>& rects,
|
| }
|
|
|
| int LayoutBox::verticalScrollbarWidth() const {
|
| - if (!hasOverflowClip() || style()->overflowY() == EOverflow::Overlay)
|
| + if (!hasOverflowClip() || style()->overflowY() == EOverflow::kOverlay)
|
| return 0;
|
|
|
| return getScrollableArea()->verticalScrollbarWidth();
|
| }
|
|
|
| int LayoutBox::horizontalScrollbarHeight() const {
|
| - if (!hasOverflowClip() || style()->overflowX() == EOverflow::Overlay)
|
| + if (!hasOverflowClip() || style()->overflowX() == EOverflow::kOverlay)
|
| return 0;
|
|
|
| return getScrollableArea()->horizontalScrollbarHeight();
|
| @@ -3215,8 +3215,8 @@ LayoutUnit LayoutBox::computePercentageLogicalHeight(
|
| // height if they have overflow set to visible or hidden or if
|
| // they are replaced elements, and a 0px height if they have not.
|
| LayoutTableCell* cell = toLayoutTableCell(cb);
|
| - if (style()->overflowY() != EOverflow::Visible &&
|
| - style()->overflowY() != EOverflow::Hidden &&
|
| + if (style()->overflowY() != EOverflow::kVisible &&
|
| + style()->overflowY() != EOverflow::kHidden &&
|
| !shouldBeConsideredAsReplaced() &&
|
| (!cell->style()->logicalHeight().isAuto() ||
|
| !cell->table()->style()->logicalHeight().isAuto()))
|
|
|