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

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp

Issue 2528573002: Changed EBorderCollapse to an enum class and renamed its members (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/css/ComputedStyleCSSValueMapping.cpp
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
index a430ade4e04af1a2a691b07e84dcdb437a66ae47..0237d9f11e2826139c0cd866ee44d166d4e8cd59 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -2115,7 +2115,7 @@ const CSSValue* ComputedStyleCSSValueMapping::get(
return list;
}
case CSSPropertyBorderCollapse:
- if (style.borderCollapse())
+ if (style.borderCollapse() == EBorderCollapse::Collapse)
return CSSIdentifierValue::create(CSSValueCollapse);
return CSSIdentifierValue::create(CSSValueSeparate);
case CSSPropertyBorderSpacing: {
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h ('k') | third_party/WebKit/Source/core/layout/LayoutTable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698