| 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 4810ed825f3ea373fa9b49eea1ac1dfe4337c79a..67524a7c3765d6aefacb073563e6658075344b75 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -1108,6 +1108,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();
|
| }
|
|
|