Index: chrome/browser/storage_monitor/image_capture_device.mm |
diff --git a/chrome/browser/storage_monitor/image_capture_device.mm b/chrome/browser/storage_monitor/image_capture_device.mm |
index 15fb9130e216ccd67ce343109a35b3a28bba079f..7a4fe861615b13836cf517897ad32c34b75d6f21 100644 |
--- a/chrome/browser/storage_monitor/image_capture_device.mm |
+++ b/chrome/browser/storage_monitor/image_capture_device.mm |
@@ -13,7 +13,7 @@ void RenameFile(const base::FilePath& downloaded_filename, |
const base::FilePath& desired_filename, |
base::PlatformFileError* result) { |
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE)); |
- bool success = file_util::ReplaceFile(downloaded_filename, desired_filename); |
+ bool success = base::ReplaceFile(downloaded_filename, desired_filename, NULL); |
*result = success ? base::PLATFORM_FILE_OK |
: base::PLATFORM_FILE_ERROR_NOT_FOUND; |
} |