| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 262c1f396352a232cc05b5c253d1166ee6530ba7..8d9b100ef95427b73eac4fbb64329e322b96b320 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -679,6 +679,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);
|
|
|