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

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

Issue 2890733002: Make EBorderStyle an enum class. (Closed)
Patch Set: Build for Mac Created 3 years, 7 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/LayoutMultiColumnSet.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.cpp b/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.cpp
index 3ddf1038eb67c2fbb6e914cee87488f7d10204a9..d1e9fbc29a362afc25158ee31c63e16b43233ddd 100644
--- a/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.cpp
@@ -568,7 +568,7 @@ bool LayoutMultiColumnSet::ComputeColumnRuleBounds(
EBorderStyle rule_style = block_style.ColumnRuleStyle();
LayoutUnit rule_thickness(block_style.ColumnRuleWidth());
LayoutUnit col_gap = ColumnGap();
- bool render_rule = rule_style > kBorderStyleHidden && !rule_transparent;
+ bool render_rule = rule_style > EBorderStyle::kHidden && !rule_transparent;
if (!render_rule)
return false;

Powered by Google App Engine
This is Rietveld 408576698