Index: third_party/WebKit/Source/core/css/parser/CSSParserToken.h |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserToken.h b/third_party/WebKit/Source/core/css/parser/CSSParserToken.h |
index f857b3d9e4747a7f16e8abfbcb6bbec315029fac..6e57a72270e29cd148ec4f9d53fb5df5c38b25b3 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSParserToken.h |
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserToken.h |
@@ -83,6 +83,7 @@ public: |
CSSParserToken(HashTokenType, CSSParserString); |
bool operator==(const CSSParserToken& other) const; |
+ bool operator!=(const CSSParserToken& other) const { return !(*this == other); } |
// Converts NumberToken to DimensionToken. |
void convertToDimensionWithUnit(CSSParserString); |
@@ -133,6 +134,8 @@ private: |
unsigned m_numericSign : 2; // NumericSign |
unsigned m_unit : 7; // CSSPrimitiveValue::UnitType |
+ bool valueDataCharRawEqual(const CSSParserToken& other) const; |
+ |
// m_value... is an unpacked CSSParserString so that we can pack it |
// tightly with the rest of this object for a smaller object size. |
bool m_valueIs8Bit : 1; |