Index: Source/core/css/CSSStyleSheet.cpp |
diff --git a/Source/core/css/CSSStyleSheet.cpp b/Source/core/css/CSSStyleSheet.cpp |
index 49ed4a18932c0744ea4ce5d7ee6037f97bfc33d1..1f6e6e7e3c24f17d6051c7c2811bb57298373378 100644 |
--- a/Source/core/css/CSSStyleSheet.cpp |
+++ b/Source/core/css/CSSStyleSheet.cpp |
@@ -80,7 +80,7 @@ PassRefPtr<CSSStyleSheet> CSSStyleSheet::create(PassRefPtr<StyleSheetContents> s |
PassRefPtr<CSSStyleSheet> CSSStyleSheet::createInline(Node* ownerNode, const KURL& baseURL, const TextPosition& startPosition, const String& encoding) |
{ |
- CSSParserContext parserContext(&ownerNode->document(), baseURL, encoding); |
+ CSSParserContext parserContext(ownerNode->document(), baseURL, encoding); |
RefPtr<StyleSheetContents> sheet = StyleSheetContents::create(baseURL.string(), parserContext); |
return adoptRef(new CSSStyleSheet(sheet.release(), ownerNode, true, startPosition)); |
} |