summaryrefslogtreecommitdiffstats
path: root/chrome/common/important_file_writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/important_file_writer.cc')
-rw-r--r--chrome/common/important_file_writer.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/important_file_writer.cc b/chrome/common/important_file_writer.cc
index 3466958..adda9fd 100644
--- a/chrome/common/important_file_writer.cc
+++ b/chrome/common/important_file_writer.cc
@@ -13,7 +13,7 @@
#include "base/file_util.h"
#include "base/logging.h"
#include "base/message_loop_proxy.h"
-#include "base/string_util.h"
+#include "base/string_number_conversions.h"
#include "base/task.h"
#include "base/thread.h"
#include "base/time.h"
@@ -52,8 +52,8 @@ class WriteToDiskTask : public Task {
}
if (bytes_written < data_.length()) {
file_util::Delete(tmp_file_path, false);
- LogFailure("error writing, bytes_written=" + UintToString(
- static_cast<unsigned int>(bytes_written)));
+ LogFailure("error writing, bytes_written=" +
+ base::Uint64ToString(bytes_written));
return;
}