Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 4379ec77dd7f70eab1993fa18392e0a4715f8ef7..385369bc28385389f4f1cee73375bbb372078e8b 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -693,7 +693,7 @@ Location* Document::location() const |
if (!frame()) |
return 0; |
- return domWindow()->location(); |
+ return &domWindow()->location(); |
} |
void Document::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta) |