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 d5776efe28175ffc7047b5f08ffbfa35a2271953..326a7f47349911681c8b833a25317e02946033d9 100644 |
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp |
@@ -384,6 +384,12 @@ bool WorkerGlobalScope::isSecureContext(String& errorMessage, const SecureContex |
return securityOrigin()->isPotentiallyTrustworthy(errorMessage); |
} |
+bool WorkerGlobalScope::isSecureContext(const SecureContextCheck privilegeContextCheck) const |
+{ |
+ String unusedErrorMessage; |
+ return isSecureContext(unusedErrorMessage, privilegeContextCheck); |
+} |
+ |
void WorkerGlobalScope::removeURLFromMemoryCache(const KURL& url) |
{ |
m_thread->workerLoaderProxy()->postTaskToLoader(createCrossThreadTask(&WorkerGlobalScope::removeURLFromMemoryCacheInternal, url)); |