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

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

Issue 2315923002: Lazy Parse CSS (Closed)
Patch Set: esprehn review Created 4 years, 2 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: 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 005c2255a5ae0585c07ee17f4c5802a17387773a..c66f48177425730b61de42da88090a2cd7204250 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSTokenizer.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSTokenizer.h
@@ -35,6 +35,8 @@ class CORE_EXPORT CSSTokenizer {
CSSParserTokenRange tokenRange();
unsigned tokenCount();
+ Vector<String> takeEscapedStrings() { return std::move(m_stringPool); }
+
private:
void storeString(const String& string) { m_stringPool.append(string); }
Vector<CSSParserToken, 32> m_tokens;

Powered by Google App Engine
This is Rietveld 408576698