Index: third_party/WebKit/Source/core/dom/StyleEngine.cpp |
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
index b225c0941afb20b79e1157522a89e75d7fd1788c..83eed8e9b1cc4b98ae28306b5b700c2c9ab9632c 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
@@ -147,7 +147,7 @@ CSSStyleSheet& StyleEngine::ensureInspectorStyleSheet() { |
return *m_inspectorStyleSheet; |
StyleSheetContents* contents = |
- StyleSheetContents::create(CSSParserContext(*m_document, nullptr)); |
+ StyleSheetContents::create(new CSSParserContext(*m_document)); |
m_inspectorStyleSheet = CSSStyleSheet::create(contents, *m_document); |
markDocumentDirty(); |
// TODO(rune@opera.com): Making the active stylesheets up-to-date here is |