diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-18 17:35:24 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-18 17:35:24 +0000 |
commit | f4c6499a37788cd2bc2c4781f005ad2c03fd47e7 (patch) | |
tree | b39c30d15d470617ecbb695e7fc3b48791f4becc /chrome/common/important_file_writer.cc | |
parent | 9a514902f55117eae04a60f917905e33e9914d32 (diff) | |
download | chromium_src-f4c6499a37788cd2bc2c4781f005ad2c03fd47e7.zip chromium_src-f4c6499a37788cd2bc2c4781f005ad2c03fd47e7.tar.gz chromium_src-f4c6499a37788cd2bc2c4781f005ad2c03fd47e7.tar.bz2 |
Revert "Add file_util::ReplaceFile and use it in ImportantFileWriter."
http://crbug.com/11585
TBR=stoyan
Review URL: http://codereview.chromium.org/113534
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16296 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/important_file_writer.cc')
-rw-r--r-- | chrome/common/important_file_writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/important_file_writer.cc b/chrome/common/important_file_writer.cc index 86a7b7d..03e138c 100644 --- a/chrome/common/important_file_writer.cc +++ b/chrome/common/important_file_writer.cc @@ -55,7 +55,7 @@ class WriteToDiskTask : public Task { return; } - if (file_util::ReplaceFile(tmp_file_path, path_)) { + if (file_util::Move(tmp_file_path, path_)) { LogSuccess(); return; } |