Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(666)

Unified Diff: Source/core/css/parser/CSSParserToken.h

Issue 1319343004: Add property parser code path based on CSSParserTokenRange (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix tests Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/css/parser/CSSParserToken.h
diff --git a/Source/core/css/parser/CSSParserToken.h b/Source/core/css/parser/CSSParserToken.h
index d9188fa17a13e6336c8762400f8f11c42c825ef3..c3b65384f600d826b61686b2cbf2e21424250065 100644
--- a/Source/core/css/parser/CSSParserToken.h
+++ b/Source/core/css/parser/CSSParserToken.h
@@ -106,6 +106,7 @@ public:
CSSPrimitiveValue::UnitType unitType() const { return static_cast<CSSPrimitiveValue::UnitType>(m_unit); }
UChar32 unicodeRangeStart() const { ASSERT(m_type == UnicodeRangeToken); return m_unicodeRange.start; }
UChar32 unicodeRangeEnd() const { ASSERT(m_type == UnicodeRangeToken); return m_unicodeRange.end; }
+ CSSValueID id() const;
CSSPropertyID parseAsUnresolvedCSSPropertyID() const;
@@ -134,6 +135,7 @@ private:
UChar m_delimiter;
HashTokenType m_hashTokenType;
double m_numericValue;
+ mutable int m_id;
struct {
UChar32 start;

Powered by Google App Engine
This is Rietveld 408576698