| Index: Source/core/css/CSSPrimitiveValueMappings.h
|
| diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h
|
| index f2cac71285e45cc32162af578232eeb36f1e792f..61c26050cd173d40f7a66b36a81f7b8c0db5a7b4 100644
|
| --- a/Source/core/css/CSSPrimitiveValueMappings.h
|
| +++ b/Source/core/css/CSSPrimitiveValueMappings.h
|
| @@ -34,7 +34,6 @@
|
| #include "core/css/CSSCalculationValue.h"
|
| #include "core/css/CSSPrimitiveValue.h"
|
| #include "core/css/CSSReflectionDirection.h"
|
| -#include "core/platform/graphics/ColorSpace.h"
|
| #include "core/platform/graphics/FontDescription.h"
|
| #include "core/platform/graphics/FontSmoothingMode.h"
|
| #include "core/platform/graphics/GraphicsTypes.h"
|
| @@ -3371,38 +3370,6 @@ template<> inline CSSPrimitiveValue::operator TextRenderingMode() const
|
| return AutoTextRendering;
|
| }
|
|
|
| -template<> inline CSSPrimitiveValue::CSSPrimitiveValue(ColorSpace space)
|
| - : CSSValue(PrimitiveClass)
|
| -{
|
| - m_primitiveUnitType = CSS_IDENT;
|
| - switch (space) {
|
| - case ColorSpaceDeviceRGB:
|
| - m_value.ident = CSSValueDefault;
|
| - break;
|
| - case ColorSpaceSRGB:
|
| - m_value.ident = CSSValueSrgb;
|
| - break;
|
| - case ColorSpaceLinearRGB:
|
| - // CSS color correction does not support linearRGB yet.
|
| - ASSERT_NOT_REACHED();
|
| - m_value.ident = CSSValueDefault;
|
| - break;
|
| - }
|
| -}
|
| -
|
| -template<> inline CSSPrimitiveValue::operator ColorSpace() const
|
| -{
|
| - switch (m_value.ident) {
|
| - case CSSValueDefault:
|
| - return ColorSpaceDeviceRGB;
|
| - case CSSValueSrgb:
|
| - return ColorSpaceSRGB;
|
| - }
|
| -
|
| - ASSERT_NOT_REACHED();
|
| - return ColorSpaceDeviceRGB;
|
| -}
|
| -
|
| template<> inline CSSPrimitiveValue::CSSPrimitiveValue(Hyphens hyphens)
|
| : CSSValue(PrimitiveClass)
|
| {
|
|
|