| Index: third_party/WebKit/Source/core/css/parser/CSSTokenizer.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSTokenizer.cpp b/third_party/WebKit/Source/core/css/parser/CSSTokenizer.cpp
|
| index 8daf820f29cc6007ebf0efb0625b44fc4da61798..d285fe02cc5df87746aef75e4710a313253bd8f5 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSTokenizer.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSTokenizer.cpp
|
| @@ -81,6 +81,12 @@ unsigned CSSTokenizer::Scope::tokenCount() {
|
| return m_tokens.size();
|
| }
|
|
|
| +void CSSTokenizer::Scope::storeString(const String& string) {
|
| + if (!m_stringPool)
|
| + m_stringPool.reset(new Vector<String>);
|
| + m_stringPool->append(string);
|
| +}
|
| +
|
| static bool isNewLine(UChar cc) {
|
| // We check \r and \f here, since we have no preprocessing stage
|
| return (cc == '\r' || cc == '\n' || cc == '\f');
|
|
|