Index: Source/core/css/StyleSheetContents.cpp |
diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp |
index 76e6d55907398581e75f023758f3ea1f6d659281..3c48a6b2bf24cae324029ac64cce7bf5d8988525 100644 |
--- a/Source/core/css/StyleSheetContents.cpp |
+++ b/Source/core/css/StyleSheetContents.cpp |
@@ -387,7 +387,7 @@ Node* StyleSheetContents::singleOwnerNode() const |
Document* StyleSheetContents::singleOwnerDocument() const |
{ |
Node* ownerNode = singleOwnerNode(); |
- return ownerNode ? ownerNode->document() : 0; |
+ return ownerNode ? &ownerNode->document() : 0; |
} |
KURL StyleSheetContents::completeURL(const String& url) const |