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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableCell.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/LayoutTableCell.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
index 781b961746b70b0c333004a29df97fe8385d5d41..56a40e0dd4045021b7e61e0940053a720889eac1 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
@@ -563,16 +563,16 @@ static bool CompareBorders(const CollapsedBorderValue& border1,
return true;
// Rule #1 above.
- if (border1.Style() == kBorderStyleHidden)
+ if (border1.Style() == EBorderStyle::kHidden)
return false;
- if (border2.Style() == kBorderStyleHidden)
+ if (border2.Style() == EBorderStyle::kHidden)
return true;
// Rule #2 above. A style of 'none' has lowest priority and always loses to
// any other border.
- if (border2.Style() == kBorderStyleNone)
+ if (border2.Style() == EBorderStyle::kNone)
return false;
- if (border1.Style() == kBorderStyleNone)
+ if (border1.Style() == EBorderStyle::kNone)
return true;
// The first part of rule #3 above. Wider borders win.
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTable.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTableSection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698