Index: third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp b/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp |
index 0f628a25762d3095749e807b86e1d30a8f39f676..027f4bbe85d592989d668844d991432a7c841dff 100644 |
--- a/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp |
@@ -64,7 +64,7 @@ static const MediaQueryEvaluator& printEval() { |
static StyleSheetContents* parseUASheet(const String& str) { |
StyleSheetContents* sheet = |
- StyleSheetContents::create(CSSParserContext(UASheetMode, nullptr)); |
+ StyleSheetContents::create(new CSSParserContext(UASheetMode)); |
sheet->parseString(str); |
// User Agent stylesheets are parsed once for the lifetime of the renderer |
// process and are intentionally leaked. |