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 a708c8a72be49402c2b1954bd4468e06f505b74a..264afe19386e3aff07f5d6cae0585fad8c5cca4d 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(CSSParserContext::create(*m_document)); |
m_inspectorStyleSheet = CSSStyleSheet::create(contents, *m_document); |
markDocumentDirty(); |
// TODO(rune@opera.com): Making the active stylesheets up-to-date here is |