Index: third_party/WebKit/Source/core/dom/ExecutionContext.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ExecutionContext.cpp b/third_party/WebKit/Source/core/dom/ExecutionContext.cpp |
index 78b0e2a3b99064926cfe839ef07a49b3ea7713df..0a6d9c782285dbaeda3c3305bf06ca36918d356e 100644 |
--- a/third_party/WebKit/Source/core/dom/ExecutionContext.cpp |
+++ b/third_party/WebKit/Source/core/dom/ExecutionContext.cpp |
@@ -264,6 +264,12 @@ bool ExecutionContext::isWindowInteractionAllowed() const |
return m_windowInteractionTokens > 0; |
} |
+bool ExecutionContext::isSecureContext(const SecureContextCheck privilegeContextCheck) const |
+{ |
+ String unusedErrorMessage; |
+ return isSecureContext(unusedErrorMessage, privilegeContextCheck); |
+} |
+ |
void ExecutionContext::setReferrerPolicy(ReferrerPolicy referrerPolicy) |
{ |
// When a referrer policy has already been set, the latest value takes precedence. |