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

Unified Diff: third_party/WebKit/Source/core/paint/TableCellPainter.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/paint/TableCellPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/TableCellPainter.cpp b/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
index 888b8df3d74e762e4ed6466e4c6d751bce594c76..8895497d1af5330fc9a39ba8e554aea250ab3bc7 100644
--- a/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
@@ -63,10 +63,10 @@ void TableCellPainter::Paint(const PaintInfo& paint_info,
}
static EBorderStyle CollapsedBorderStyle(EBorderStyle style) {
- if (style == kBorderStyleOutset)
- return kBorderStyleGroove;
- if (style == kBorderStyleInset)
- return kBorderStyleRidge;
+ if (style == EBorderStyle::kOutset)
+ return EBorderStyle::kGroove;
+ if (style == EBorderStyle::kInset)
+ return EBorderStyle::kRidge;
return style;
}
« no previous file with comments | « third_party/WebKit/Source/core/paint/ObjectPainter.cpp ('k') | third_party/WebKit/Source/core/style/BorderEdge.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698