| Index: third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| index bceb03e11d6cca630f91c6af279bd1ae2e3eb847..cac8ed04a5f53adf5e88530b48e0e9ef8e650b4e 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp
|
| @@ -163,6 +163,10 @@ void WorkerGlobalScope::close() {
|
| m_closing = true;
|
| }
|
|
|
| +String WorkerGlobalScope::origin() const {
|
| + return getSecurityOrigin()->toString();
|
| +}
|
| +
|
| void WorkerGlobalScope::importScripts(const Vector<String>& urls,
|
| ExceptionState& exceptionState) {
|
| DCHECK(contentSecurityPolicy());
|
|
|