Index: Source/core/css/CSSPrimitiveValue.h |
diff --git a/Source/core/css/CSSPrimitiveValue.h b/Source/core/css/CSSPrimitiveValue.h |
index 642d400c1a4bbdcdb0c3bdd63b4a1fd0805d2ee3..242fcda4eb610f028626fa919fdf1d52839be092 100644 |
--- a/Source/core/css/CSSPrimitiveValue.h |
+++ b/Source/core/css/CSSPrimitiveValue.h |
@@ -110,14 +110,9 @@ public: |
CSS_PAIR = 100, // We envision this being exposed as a means of getting computed style values for pairs (border-spacing/radius, background-position, etc.) |
CSS_UNICODE_RANGE = 102, |
- // These next types are just used internally to allow us to translate back and forth from CSSPrimitiveValues to CSSParserValues. |
- CSS_PARSER_OPERATOR = 103, |
- CSS_PARSER_INTEGER = 104, |
+ // FIXME: This is only used in CSSParserValue, so it's probably better as part of the enum there |
CSS_PARSER_HEXCOLOR = 105, |
- // This is used internally for unknown identifiers |
- CSS_PARSER_IDENTIFIER = 106, |
- |
// These are from CSS3 Values and Units, but that isn't a finished standard yet |
CSS_TURN = 107, |
CSS_REMS = 108, |
@@ -226,10 +221,6 @@ public: |
{ |
return adoptRefWillBeNoop(new CSSPrimitiveValue(propertyID)); |
} |
- static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createParserOperator(int parserOperator) |
- { |
- return adoptRefWillBeNoop(new CSSPrimitiveValue(parserOperator, CSS_PARSER_OPERATOR)); |
- } |
static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createColor(unsigned rgbValue) |
{ |
return adoptRefWillBeNoop(new CSSPrimitiveValue(rgbValue, CSS_RGBCOLOR)); |