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

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

Issue 962093002: CSS Tokenizer: Add an on-stack tokenizer scope (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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 | « Source/core/css/parser/MediaQueryParser.cpp ('k') | Source/core/css/parser/SizesAttributeParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/SizesAttributeParser.h
diff --git a/Source/core/css/parser/SizesAttributeParser.h b/Source/core/css/parser/SizesAttributeParser.h
index 284f653378b51c2b64880096180905709943c9b9..6c4eaa80dacda99d9132951a8efc8549c53828bf 100644
--- a/Source/core/css/parser/SizesAttributeParser.h
+++ b/Source/core/css/parser/SizesAttributeParser.h
@@ -21,7 +21,7 @@ public:
float length();
private:
- bool parse(Vector<CSSParserToken>& tokens);
+ bool parse(CSSParserTokenRange);
float effectiveSize();
bool calculateLengthInPixels(CSSParserTokenRange, float& result);
bool mediaConditionMatches(PassRefPtrWillBeRawPtr<MediaQuerySet> mediaCondition);
@@ -31,7 +31,6 @@ private:
RefPtr<MediaValues> m_mediaValues;
float m_length;
bool m_lengthWasSet;
- Vector<CSSParserToken> m_tokens;
bool m_isValid;
};
« no previous file with comments | « Source/core/css/parser/MediaQueryParser.cpp ('k') | Source/core/css/parser/SizesAttributeParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698