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 c3fb08da0d1a25ac21e064b9345a82a975d94880..a4645248297de1df359e608fa968b9cb25e08561 100644 |
--- a/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h |
+++ b/third_party/WebKit/Source/core/workers/WorkerGlobalScope.h |
@@ -84,6 +84,7 @@ public: |
WorkerLocation* location() const; |
WorkerNavigator* navigator() const; |
void close(); |
+ bool isSecureContextForBindings() const { return ExecutionContext::isSecureContext(StandardSecureContextCheck); } |
DEFINE_ATTRIBUTE_EVENT_LISTENER(error); |
DEFINE_ATTRIBUTE_EVENT_LISTENER(rejectionhandled); |