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

Unified Diff: content/renderer/render_view_impl.cc

Issue 1225983003: Clean up the interface to DeserializeSecurityInfo, fix uninitialized memory use. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 72705a74854f0b8a1758496e4ffd8843d923b3b9..036f4b1d86421d2ec30f27505f2de1a7fa5b1e62 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2112,14 +2112,7 @@ SSLStatus RenderViewImpl::GetSSLStatusOfFrame(blink::WebFrame* frame) const {
if (frame && frame->dataSource())
security_info = frame->dataSource()->response().securityInfo();
- SSLStatus ssl_status;
- DeserializeSecurityInfo(security_info,
- &ssl_status.cert_id,
- &ssl_status.cert_status,
- &ssl_status.security_bits,
- &ssl_status.connection_status,
- &ssl_status.signed_certificate_timestamp_ids);
- return ssl_status;
+ return DeserializeSecurityInfo(security_info);
}
const std::string& RenderViewImpl::GetAcceptLanguages() const {
« content/common/ssl_status_serialization.h ('K') | « content/renderer/context_menu_params_builder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698