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

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: typo 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
« no previous file with comments | « content/renderer/context_menu_params_builder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 67b6198dd78b7e1c3a754718ac7ba3d0c891c2ba..e06e173b5d7d3df54e8e1b81ef594de67c318e78 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2125,14 +2125,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 {
« no previous file with comments | « 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