| 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 a8c2e91e44a28cfb984553719f8e21cda4198dbb..d8354a03dc6abc2b8c0381e58ba712ee47a974fc 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSTokenizer.h
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSTokenizer.h
|
| @@ -33,11 +33,16 @@ public:
|
| CSSParserTokenRange tokenRange();
|
| unsigned tokenCount();
|
|
|
| + std::unique_ptr<Vector<String>> releaseEscapedStrings()
|
| + {
|
| + return std::move(m_stringPool);
|
| + }
|
| +
|
| private:
|
| - void storeString(const String& string) { m_stringPool.append(string); }
|
| + void storeString(const String& string) { m_stringPool->append(string); }
|
| Vector<CSSParserToken, 32> m_tokens;
|
| // We only allocate strings when escapes are used.
|
| - Vector<String> m_stringPool;
|
| + std::unique_ptr<Vector<String>> m_stringPool;
|
| String m_string;
|
|
|
| friend class CSSTokenizer;
|
|
|