Index: third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp b/third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp |
index 51b80c17da085ca785ae3abe546324ba018a3e67..f056f82dc1fecee989c73edb996f65fbdb53ad08 100644 |
--- a/third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp |
+++ b/third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp |
@@ -195,7 +195,8 @@ void ProcessingInstruction::setCSSStyleSheet( |
} |
DCHECK(m_isCSS); |
- CSSParserContext parserContext(document(), nullptr, baseURL, charset); |
+ CSSParserContext* parserContext = |
+ CSSParserContext::create(document(), baseURL, charset); |
StyleSheetContents* newSheet = |
StyleSheetContents::create(href, parserContext); |