| Index: third_party/WebKit/Source/core/css/StyleSheetContents.h
|
| diff --git a/third_party/WebKit/Source/core/css/StyleSheetContents.h b/third_party/WebKit/Source/core/css/StyleSheetContents.h
|
| index ae3d78c6608c4ca89226a7272d245209d69698af..dcd976848643e93bd70b8393ae96fe641dec53ca 100644
|
| --- a/third_party/WebKit/Source/core/css/StyleSheetContents.h
|
| +++ b/third_party/WebKit/Source/core/css/StyleSheetContents.h
|
| @@ -159,6 +159,11 @@ public:
|
|
|
| String sourceMapURL() const { return m_sourceMapURL; }
|
|
|
| + void takeEscapedStrings(std::unique_ptr<Vector<String>> strings)
|
| + {
|
| + m_escapedStrings.reset(strings.release());
|
| + }
|
| +
|
| DECLARE_TRACE();
|
|
|
| private:
|
| @@ -197,6 +202,13 @@ private:
|
|
|
| Member<RuleSet> m_ruleSet;
|
| String m_sourceMapURL;
|
| +
|
| + // Used for retaining references to escaped strings for lazy parsing. For
|
| + // non-lazy parsing these are only retained in the CSSTokenizer::Scope.
|
| + std::unique_ptr<Vector<String>> m_escapedStrings;
|
| +
|
| + // Only initialized if using lazy parsing. Also referenced on the css resource.
|
| + String m_sheetText;
|
| };
|
|
|
| } // namespace blink
|
|
|