| Index: third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
|
| index ec165161ef75c46579b4154b31888734fad4cb16..d4192180df4d48981e8d8b529c3b51c0da202cff 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h
|
| @@ -99,7 +99,7 @@ class CORE_EXPORT WorkerGlobalScope
|
| WorkerNavigator* navigator() const;
|
| void close();
|
| bool isSecureContextForBindings() const {
|
| - return ExecutionContext::IsSecureContext(kStandardSecureContextCheck);
|
| + return ExecutionContext::IsSecureContext();
|
| }
|
|
|
| String origin() const;
|
| @@ -133,9 +133,7 @@ class CORE_EXPORT WorkerGlobalScope
|
| SecurityContext& GetSecurityContext() final { return *this; }
|
| void AddConsoleMessage(ConsoleMessage*) final;
|
| WorkerEventQueue* GetEventQueue() const final;
|
| - bool IsSecureContext(
|
| - String& error_message,
|
| - const SecureContextCheck = kStandardSecureContextCheck) const override;
|
| + bool IsSecureContext(String& error_message) const override;
|
|
|
| // EventTarget
|
| ExecutionContext* GetExecutionContext() const final;
|
|
|