| Index: third_party/WebKit/Source/core/css/parser/CSSParserContext.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserContext.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserContext.cpp
|
| index bca0fcf64eef2f973921626bf345c111cd42f4ef..0f9e4a2f5f5c5b4a9c551e60e8682bc3bee23f7a 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserContext.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserContext.cpp
|
| @@ -41,6 +41,19 @@ CSSParserContext* CSSParserContext::create(const CSSParserContext* other,
|
| }
|
|
|
| // static
|
| +CSSParserContext* CSSParserContext::create(const CSSParserContext* other,
|
| + const KURL& baseURL,
|
| + const String& charset,
|
| + const Referrer& referrer,
|
| + const Document* useCounterDocument) {
|
| + return new CSSParserContext(
|
| + baseURL, charset, other->m_mode, other->m_matchMode, other->m_profile,
|
| + referrer, other->m_isHTMLDocument,
|
| + other->m_useLegacyBackgroundSizeShorthandBehavior,
|
| + other->m_shouldCheckContentSecurityPolicy, useCounterDocument);
|
| +}
|
| +
|
| +// static
|
| CSSParserContext* CSSParserContext::create(CSSParserMode mode,
|
| SelectorProfile profile,
|
| const Document* useCounterDocument) {
|
|
|