| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 7eefcf7851daa2b095ed7f1cf64e7236a3d9661a..4bc38d8fabb756647553053b0f87a095fb029057 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -680,6 +680,14 @@ bool Document::hasManifest() const
|
| return documentElement() && isHTMLHtmlElement(documentElement()) && documentElement()->hasAttribute(manifestAttr);
|
| }
|
|
|
| +Location* Document::location() const
|
| +{
|
| + if (!frame())
|
| + return 0;
|
| +
|
| + return domWindow()->location();
|
| +}
|
| +
|
| void Document::childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta)
|
| {
|
| ContainerNode::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta);
|
|
|