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 6c62bcffd41478e2be9d05041e0fef2de18810a3..201faf9b9371d13a0cd9d786f84a747540426c44 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 |