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

Unified Diff: third_party/WebKit/Source/core/testing/NullExecutionContext.cpp

Issue 1504403003: Calling isSecureContext() with no arguments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/testing/NullExecutionContext.cpp
diff --git a/third_party/WebKit/Source/core/testing/NullExecutionContext.cpp b/third_party/WebKit/Source/core/testing/NullExecutionContext.cpp
index 46ab1611abd640d93e02fb033c60dbbc9ceabb53..05d1354a02611c56f1837c7a2d8ed312066623ad 100644
--- a/third_party/WebKit/Source/core/testing/NullExecutionContext.cpp
+++ b/third_party/WebKit/Source/core/testing/NullExecutionContext.cpp
@@ -39,4 +39,10 @@ bool NullExecutionContext::isSecureContext(String& errorMessage, const SecureCon
return true;
}
+bool NullExecutionContext::isSecureContext(const SecureContextCheck privilegeContextCheck) const
+{
+ String unusedErrorMessage;
+ return isSecureContext(unusedErrorMessage, privilegeContextCheck);
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698