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

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

Issue 2058403002: Use an inline capacity for CSSTokenizer's Vector<CSSParserToken> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « third_party/WebKit/Source/core/css/parser/CSSParserTokenRange.h ('k') | no next file » | 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 c40240d5df689310908a021a35359ba27e795a66..925a9db203b2de5a0a0a769db2a67cccdb169771 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSTokenizer.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSTokenizer.h
@@ -35,7 +35,7 @@ public:
private:
void storeString(const String& string) { m_stringPool.append(string); }
- Vector<CSSParserToken> m_tokens;
+ Vector<CSSParserToken, 32> m_tokens;
// We only allocate strings when escapes are used.
Vector<String> m_stringPool;
String m_string;
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSParserTokenRange.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698