Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: third_party/WebKit/Source/core/workers/WorkerGlobalScope.h

Issue 2838603002: Added [SecureContext] to the subtle attribute (Closed)
Patch Set: Magic test starts doing differnt things out of the blue. Need to handle this properly. Avada Kedavr… Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698