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

Unified Diff: chrome/browser/net/crl_set_fetcher.cc

Issue 505293002: Remove implicit conversions from scoped_refptr to T* in chrome/browser/net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « no previous file | chrome/browser/net/network_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/crl_set_fetcher.cc
diff --git a/chrome/browser/net/crl_set_fetcher.cc b/chrome/browser/net/crl_set_fetcher.cc
index 890e170e91ca6f39dd80f4ee6742b91e7db59890..40350751180568995be7fc0dd5ba8f000586aa6f 100644
--- a/chrome/browser/net/crl_set_fetcher.cc
+++ b/chrome/browser/net/crl_set_fetcher.cc
@@ -200,14 +200,14 @@ bool CRLSetFetcher::Install(const base::DictionaryValue& manifest,
} else {
scoped_refptr<net::CRLSet> new_crl_set;
if (!net::CRLSetStorage::ApplyDelta(
- crl_set_, crl_set_bytes, &new_crl_set)) {
+ crl_set_.get(), crl_set_bytes, &new_crl_set)) {
LOG(WARNING) << "Failed to parse delta CRL set";
return false;
}
VLOG(1) << "Applied CRL set delta #" << crl_set_->sequence()
<< "->#" << new_crl_set->sequence();
const std::string new_crl_set_bytes =
- net::CRLSetStorage::Serialize(new_crl_set);
+ net::CRLSetStorage::Serialize(new_crl_set.get());
int size = base::checked_cast<int>(new_crl_set_bytes.size());
if (base::WriteFile(save_to, new_crl_set_bytes.data(), size) != size) {
LOG(WARNING) << "Failed to save new CRL set to disk";
« no previous file with comments | « no previous file | chrome/browser/net/network_stats.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698