| Index: third_party/leveldatabase/env_chromium.cc
|
| diff --git a/third_party/leveldatabase/env_chromium.cc b/third_party/leveldatabase/env_chromium.cc
|
| index d10ccb621bcfe59356944010ab9b2c4c8bcbed0b..5efd74dbc4467cf917bb736f7e1b39d321a5bb07 100644
|
| --- a/third_party/leveldatabase/env_chromium.cc
|
| +++ b/third_party/leveldatabase/env_chromium.cc
|
| @@ -672,10 +672,8 @@ Status ChromiumEnv::RenameFile(const std::string& src, const std::string& dst) {
|
| Retrier retrier(kRenameFile, this);
|
| base::PlatformFileError error = base::PLATFORM_FILE_OK;
|
| do {
|
| - if (::file_util::ReplaceFileAndGetError(
|
| - src_file_path, destination, &error)) {
|
| + if (base::ReplaceFile(src_file_path, destination, &error))
|
| return result;
|
| - }
|
| } while (retrier.ShouldKeepTrying(error));
|
|
|
| DCHECK(error != base::PLATFORM_FILE_OK);
|
|
|