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..ac1a32393150f91818020fab2a96f27318d924b3 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 = |
+ new CSSParserContext(document(), baseURL, charset); |
StyleSheetContents* newSheet = |
StyleSheetContents::create(href, parserContext); |