| 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 282bc3a549d9c0d555051d870bdcb76200bae74e..576d7dfdaa918bd027c5238335b2d1193a8280d8 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSTokenizer.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSTokenizer.cpp
|
| @@ -18,7 +18,7 @@ namespace blink {
|
| namespace blink {
|
|
|
| CSSTokenizer::Scope::Scope(const String& string)
|
| -: m_string(string)
|
| + : m_string(string)
|
| {
|
| // According to the spec, we should perform preprocessing here.
|
| // See: http://dev.w3.org/csswg/css-syntax/#input-preprocessing
|
| @@ -48,7 +48,7 @@ CSSTokenizer::Scope::Scope(const String& string)
|
| }
|
|
|
| CSSTokenizer::Scope::Scope(const String& string, CSSParserObserverWrapper& wrapper)
|
| -: m_string(string)
|
| + : m_string(string)
|
| {
|
| if (string.isEmpty())
|
| return;
|
| @@ -84,6 +84,13 @@ 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
|
|
|