| Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| index 4fda1a2b6a4a654a403b494de1c8245c100eab0b..404a3224617f0b436ec3c8b104f36d76c720a7a1 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -1109,6 +1109,10 @@ void LocalDOMWindow::setDefaultStatus(const String& string) {
|
| host->chromeClient().setStatusbarText(m_defaultStatus);
|
| }
|
|
|
| +String LocalDOMWindow::origin() const {
|
| + return getExecutionContext()->getSecurityOrigin()->toString();
|
| +}
|
| +
|
| Document* LocalDOMWindow::document() const {
|
| return m_document.get();
|
| }
|
|
|