Index: Source/core/css/CSSPrimitiveValueMappings.h |
diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h |
index be8e24c005ed0984c837ced469920305a91fe2f0..9c565ec506a3e285ca547a4d8bc68a353922f347 100644 |
--- a/Source/core/css/CSSPrimitiveValueMappings.h |
+++ b/Source/core/css/CSSPrimitiveValueMappings.h |
@@ -1151,34 +1151,6 @@ template<> inline CSSPrimitiveValue::operator ECursor() const |
return static_cast<ECursor>(m_value.ident - CSSValueAuto); |
} |
- |
-#if ENABLE(CURSOR_VISIBILITY) |
-template<> inline CSSPrimitiveValue::CSSPrimitiveValue(CursorVisibility e) |
- : CSSValue(PrimitiveClass) |
-{ |
- m_primitiveUnitType = CSS_IDENT; |
- switch (e) { |
- case CursorVisibilityAuto: |
- m_value.ident = CSSValueAuto; |
- break; |
- case CursorVisibilityAutoHide: |
- m_value.ident = CSSValueAutoHide; |
- break; |
- } |
-} |
- |
-template<> inline CSSPrimitiveValue::operator CursorVisibility() const |
-{ |
- if (m_value.ident == CSSValueAuto) |
- return CursorVisibilityAuto; |
- if (m_value.ident == CSSValueAutoHide) |
- return CursorVisibilityAutoHide; |
- |
- ASSERT_NOT_REACHED(); |
- return CursorVisibilityAuto; |
-} |
-#endif |
- |
template<> inline CSSPrimitiveValue::CSSPrimitiveValue(EDisplay e) |
: CSSValue(PrimitiveClass) |
{ |