summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/crl_set_fetcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/net/crl_set_fetcher.cc')
-rw-r--r--chrome/browser/net/crl_set_fetcher.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/net/crl_set_fetcher.cc b/chrome/browser/net/crl_set_fetcher.cc
index 6c62bcf..201faf9 100644
--- a/chrome/browser/net/crl_set_fetcher.cc
+++ b/chrome/browser/net/crl_set_fetcher.cc
@@ -171,7 +171,7 @@ bool CRLSetFetcher::Install(const base::DictionaryValue& manifest,
return false;
}
int size = base::checked_cast<int>(crl_set_bytes.size());
- if (file_util::WriteFile(save_to, crl_set_bytes.data(), size) != size) {
+ if (base::WriteFile(save_to, crl_set_bytes.data(), size) != size) {
LOG(WARNING) << "Failed to save new CRL set to disk";
// We don't return false here because we can still use this CRL set. When
// we restart we might revert to an older version, then we'll
@@ -187,7 +187,7 @@ bool CRLSetFetcher::Install(const base::DictionaryValue& manifest,
<< "->#" << new_crl_set->sequence();
const std::string new_crl_set_bytes = new_crl_set->Serialize();
int size = base::checked_cast<int>(new_crl_set_bytes.size());
- if (file_util::WriteFile(save_to, new_crl_set_bytes.data(), size) != size) {
+ if (base::WriteFile(save_to, new_crl_set_bytes.data(), size) != size) {
LOG(WARNING) << "Failed to save new CRL set to disk";
// We don't return false here because we can still use this CRL set. When
// we restart we might revert to an older version, then we'll