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

Unified Diff: Source/core/css/CSSPrimitiveValueMappings.h

Issue 607593002: Remove -webkit-border-fit (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 3 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
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSProperties.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSPrimitiveValueMappings.h
diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h
index 41222d9b8c02e49ed85eb95cb71a7a666dad5044..7b2a4489011cfbe078845b8e29ebdc8ff78de43a 100644
--- a/Source/core/css/CSSPrimitiveValueMappings.h
+++ b/Source/core/css/CSSPrimitiveValueMappings.h
@@ -4050,36 +4050,6 @@ template<> inline CSSPrimitiveValue::operator EBorderCollapse() const
return BSEPARATE;
}
-template<> inline CSSPrimitiveValue::CSSPrimitiveValue(EBorderFit e)
- : CSSValue(PrimitiveClass)
-{
- m_primitiveUnitType = CSS_VALUE_ID;
- switch (e) {
- case BorderFitBorder:
- m_value.valueID = CSSValueBorder;
- break;
- case BorderFitLines:
- m_value.valueID = CSSValueLines;
- break;
- }
-}
-
-template<> inline CSSPrimitiveValue::operator EBorderFit() const
-{
- ASSERT(isValueID());
- switch (m_value.valueID) {
- case CSSValueBorder:
- return BorderFitBorder;
- case CSSValueLines:
- return BorderFitLines;
- default:
- break;
- }
-
- ASSERT_NOT_REACHED();
- return BorderFitLines;
-}
-
template<> inline CSSPrimitiveValue::CSSPrimitiveValue(EImageRendering e)
: CSSValue(PrimitiveClass)
{
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSProperties.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698