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

Unified Diff: third_party/WebKit/Source/core/loader/MixedContentChecker.cpp

Issue 2315443003: Stop sending serialized SSLStatus to the renderer. (Closed)
Patch Set: self review fix and merge fix Created 4 years, 3 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/loader/MixedContentChecker.cpp
diff --git a/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp b/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp
index 639a7fd273737b48434ac3b0496d3774e76f56d4..12e30d68b3cbd0eb83cce14ec3c2fa92d89493ad 100644
--- a/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp
+++ b/third_party/WebKit/Source/core/loader/MixedContentChecker.cpp
@@ -372,13 +372,13 @@ void MixedContentChecker::handleCertificateError(LocalFrame* frame, const Resour
bool strictMixedContentCheckingForPlugin = effectiveFrame->settings() && effectiveFrame->settings()->strictMixedContentCheckingForPlugin();
WebMixedContent::ContextType contextType = WebMixedContent::contextTypeFromRequestContext(requestContext, strictMixedContentCheckingForPlugin);
if (contextType == WebMixedContent::ContextType::Blockable) {
- client->didRunContentWithCertificateErrors(response.url(), response.getSecurityInfo());
+ client->didRunContentWithCertificateErrors(response.url());
} else {
// contextTypeFromRequestContext() never returns NotMixedContent (it
// computes the type of mixed content, given that the content is
// mixed).
DCHECK(contextType != WebMixedContent::ContextType::NotMixedContent);
- client->didDisplayContentWithCertificateErrors(response.url(), response.getSecurityInfo());
+ client->didDisplayContentWithCertificateErrors(response.url());
}
}

Powered by Google App Engine
This is Rietveld 408576698