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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSTokenizer.h

Issue 2105463003: Add inline capacity to CSSTokenizer::m_blockStack. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo. Created 4 years, 6 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 | third_party/WebKit/Source/core/css/parser/CSSTokenizer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/parser/CSSTokenizer.h
diff --git a/third_party/WebKit/Source/core/css/parser/CSSTokenizer.h b/third_party/WebKit/Source/core/css/parser/CSSTokenizer.h
index 49613c662b477d1e31c367ed674ba95e2e10c025..1a67fd65dc29b462fbc20ebf05dd7d0935a36648 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSTokenizer.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSTokenizer.h
@@ -72,15 +72,11 @@ private:
bool nextCharsAreNumber();
bool nextCharsAreIdentifier(UChar);
bool nextCharsAreIdentifier();
+
CSSParserToken blockStart(CSSParserTokenType);
CSSParserToken blockStart(CSSParserTokenType blockType, CSSParserTokenType, StringView);
CSSParserToken blockEnd(CSSParserTokenType, CSSParserTokenType startType);
- using CodePoint = CSSParserToken (CSSTokenizer::*)(UChar);
-
- static const CodePoint codePoints[];
- Vector<CSSParserTokenType> m_blockStack;
-
CSSParserToken whiteSpace(UChar);
CSSParserToken leftParenthesis(UChar);
CSSParserToken rightParenthesis(UChar);
@@ -111,6 +107,10 @@ private:
StringView registerString(const String&);
+ using CodePoint = CSSParserToken (CSSTokenizer::*)(UChar);
+ static const CodePoint codePoints[];
+
+ Vector<CSSParserTokenType, 8> m_blockStack;
CSSTokenizerInputStream& m_input;
Scope& m_scope;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/parser/CSSTokenizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698