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

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

Issue 1157463002: Simplify UnicodeRangeToken handling (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 5 years, 7 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
« no previous file with comments | « no previous file | Source/core/css/parser/CSSParserValues.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSParserValues.h
diff --git a/Source/core/css/parser/CSSParserValues.h b/Source/core/css/parser/CSSParserValues.h
index 8146ad6ea829ff8e766c77e3b8b43923e1e9c239..8f89f509236d1efc024a204af460ec6b13fe8a79 100644
--- a/Source/core/css/parser/CSSParserValues.h
+++ b/Source/core/css/parser/CSSParserValues.h
@@ -111,6 +111,10 @@ struct CSSParserValue {
CSSParserString string;
CSSParserFunction* function;
CSSParserValueList* valueList;
+ struct {
+ UChar32 start;
+ UChar32 end;
+ } m_unicodeRange;
};
enum {
Operator = 0x100000,
@@ -120,7 +124,7 @@ struct CSSParserValue {
HexColor = 0x100004,
// Represents a dimension by a list of two values, a CSS_NUMBER and an CSS_IDENT
DimensionList = 0x100006,
- // Represents a unicode range by a list of two CSS_NUMBERs
+ // Represents a unicode range by a pair of UChar32 values
UnicodeRange = 0x100007,
};
int unit;
« no previous file with comments | « no previous file | Source/core/css/parser/CSSParserValues.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698