Index: Source/core/css/CSSPrimitiveValueMappings.h |
diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h |
index e538b8fee5c16840e906177a131196e57512344c..f10fe0d936d4103dfa29d5dc76c00a7b3f87e732 100644 |
--- a/Source/core/css/CSSPrimitiveValueMappings.h |
+++ b/Source/core/css/CSSPrimitiveValueMappings.h |
@@ -41,7 +41,6 @@ |
#include "core/platform/ThemeTypes.h" |
#include "core/platform/graphics/Path.h" |
#include "core/platform/graphics/TextRenderingMode.h" |
-#include "core/rendering/style/LineClampValue.h" |
#include "core/rendering/style/RenderStyleConstants.h" |
#include "core/rendering/style/SVGRenderStyleDefs.h" |
#include "platform/text/TextDirection.h" |
@@ -118,25 +117,6 @@ template<> inline CSSPrimitiveValue::operator float() const |
return 0.0f; |
} |
-template<> inline CSSPrimitiveValue::CSSPrimitiveValue(LineClampValue i) |
- : CSSValue(PrimitiveClass) |
-{ |
- m_primitiveUnitType = i.isPercentage() ? CSS_PERCENTAGE : CSS_NUMBER; |
- m_value.num = static_cast<double>(i.value()); |
-} |
- |
-template<> inline CSSPrimitiveValue::operator LineClampValue() const |
-{ |
- if (m_primitiveUnitType == CSS_NUMBER) |
- return LineClampValue(clampTo<int>(m_value.num), LineClampLineCount); |
- |
- if (m_primitiveUnitType == CSS_PERCENTAGE) |
- return LineClampValue(clampTo<int>(m_value.num), LineClampPercentage); |
- |
- ASSERT_NOT_REACHED(); |
- return LineClampValue(); |
-} |
- |
template<> inline CSSPrimitiveValue::CSSPrimitiveValue(CSSReflectionDirection e) |
: CSSValue(PrimitiveClass) |
{ |