Index: Source/core/inspector/InspectorStyleSheet.cpp |
diff --git a/Source/core/inspector/InspectorStyleSheet.cpp b/Source/core/inspector/InspectorStyleSheet.cpp |
index 20cc7cde371175c8594d1bb43b91ac095b9e8c85..56d40a94d7750d7384b2268bc8cc41176bd3aa47 100644 |
--- a/Source/core/inspector/InspectorStyleSheet.cpp |
+++ b/Source/core/inspector/InspectorStyleSheet.cpp |
@@ -143,7 +143,7 @@ namespace WebCore { |
static PassOwnPtr<CSSParser> createCSSParser(Document* document) |
{ |
UseCounter* counter = 0; |
- return adoptPtr(new CSSParser(document ? CSSParserContext(document) : strictCSSParserContext(), counter)); |
+ return adoptPtr(new CSSParser(document ? CSSParserContext(*document) : strictCSSParserContext(), counter)); |
} |
namespace { |