Index: chrome/browser/ui/certificate_dialogs.cc |
diff --git a/chrome/browser/ui/certificate_dialogs.cc b/chrome/browser/ui/certificate_dialogs.cc |
index cb32713de0bf104f4552cad750c59b2c32c37429..0712dd7866138c93bda22b8d666b4335eda0d660 100644 |
--- a/chrome/browser/ui/certificate_dialogs.cc |
+++ b/chrome/browser/ui/certificate_dialogs.cc |
@@ -25,7 +25,7 @@ using content::WebContents; |
namespace { |
void WriterCallback(const base::FilePath& path, const std::string& data) { |
- int bytes_written = file_util::WriteFile(path, data.data(), data.size()); |
+ int bytes_written = base::WriteFile(path, data.data(), data.size()); |
if (bytes_written != static_cast<ssize_t>(data.size())) { |
LOG(ERROR) << "Writing " << path.value() << " (" |
<< data.size() << "B) returned " << bytes_written; |