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

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

Issue 2880573002: Store border-*-style on SurroundData in ComputedStyle (Closed)
Patch Set: Store border-*-style on SurroundData in ComputedStyle not BorderStyle 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 cf560688e8f6fb570d648f770339fcf0a77e5a1f..a6708e4234612175abf7d14b666e9fcd93aae4a0 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
@@ -551,16 +551,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.

Powered by Google App Engine
This is Rietveld 408576698