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

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

Issue 2569013006: Changed EOverflow to an enum class and renamed its members (Closed)
Patch Set: Rebase Created 4 years 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/LayoutGrid.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
index c9298c6811f4791ed64f0cf6a6fa204ce7adcf7d..0c851eee5a2cb8ee4fb901b07624ecbc15bcbabd 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutGrid.cpp
@@ -1330,8 +1330,9 @@ LayoutUnit LayoutGrid::minSizeForChild(LayoutBox& child,
const Length& childMinSize = isRowAxis ? child.styleRef().logicalMinWidth()
: child.styleRef().logicalMinHeight();
bool overflowIsVisible =
- isRowAxis ? child.styleRef().overflowInlineDirection() == OverflowVisible
- : child.styleRef().overflowBlockDirection() == OverflowVisible;
+ isRowAxis
+ ? child.styleRef().overflowInlineDirection() == EOverflow::Visible
+ : child.styleRef().overflowBlockDirection() == EOverflow::Visible;
if (!childSize.isAuto() || (childMinSize.isAuto() && overflowIsVisible))
return minContentForChild(child, direction, sizingData);

Powered by Google App Engine
This is Rietveld 408576698