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

Unified Diff: third_party/WebKit/Source/core/dom/Document.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/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 5163577596583956aac44fb63d5c25e8caec1774..825d605c35dd4a584566ec5841533001f15fbcce 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -5735,6 +5735,12 @@ bool Document::isSecureContext(String& errorMessage, const SecureContextCheck pr
return true;
}
+bool Document::isSecureContext(const SecureContextCheck privilegeContextCheck) const
+{
+ String unusedErrorMessage;
+ return isSecureContext(unusedErrorMessage, privilegeContextCheck);
+}
+
WebTaskRunner* Document::loadingTaskRunner() const
{
if (frame())

Powered by Google App Engine
This is Rietveld 408576698