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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.cpp

Issue 2660423004: Rename EOverflow values with k prefix. (Closed)
Patch Set: Rebase 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
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()))
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.h ('k') | third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698