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

Unified Diff: net/tools/crl_set_dump/crl_set_dump.cc

Issue 509563003: Remove implicit conversions from scoped_refptr to T* in 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 | « net/test/cert_test_util_nss.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/crl_set_dump/crl_set_dump.cc
diff --git a/net/tools/crl_set_dump/crl_set_dump.cc b/net/tools/crl_set_dump/crl_set_dump.cc
index 16600bbeb2cf6577e2544d2d7723001d2cf13d8c..a9dd6240f7aeea1d5fd26ab863618c50f4bef922 100644
--- a/net/tools/crl_set_dump/crl_set_dump.cc
+++ b/net/tools/crl_set_dump/crl_set_dump.cc
@@ -53,7 +53,8 @@ int main(int argc, char** argv) {
}
if (!delta_bytes.empty()) {
- if (!net::CRLSetStorage::ApplyDelta(crl_set, delta_bytes, &final_crl_set)) {
+ if (!net::CRLSetStorage::ApplyDelta(
+ crl_set.get(), delta_bytes, &final_crl_set)) {
fprintf(stderr, "Failed to apply delta to CRLSet\n");
return 1;
}
@@ -62,7 +63,7 @@ int main(int argc, char** argv) {
}
if (!output_filename.empty()) {
- const std::string out = net::CRLSetStorage::Serialize(final_crl_set);
+ const std::string out = net::CRLSetStorage::Serialize(final_crl_set.get());
if (base::WriteFile(output_filename, out.data(), out.size()) == -1) {
fprintf(stderr, "Failed to write resulting CRL set\n");
return 1;
« no previous file with comments | « net/test/cert_test_util_nss.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698