| 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 47a0ec805a499466da23a0a06cb649fe96270278..de130946c81de9940042541673214ce96300091d 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());
|
|
|