Index: chrome/installer/util/delete_after_reboot_helper_unittest.cc |
diff --git a/chrome/installer/util/delete_after_reboot_helper_unittest.cc b/chrome/installer/util/delete_after_reboot_helper_unittest.cc |
index 02b52a773f256cace574febd39604209fd85bcce..7fb7360c2debeae9eb98d278573334cc855b9210 100644 |
--- a/chrome/installer/util/delete_after_reboot_helper_unittest.cc |
+++ b/chrome/installer/util/delete_after_reboot_helper_unittest.cc |
@@ -39,7 +39,7 @@ class DeleteAfterRebootHelperTest : public testing::Test { |
} |
virtual void TearDown() { |
// Delete the temporary directory if it's still there. |
- base::Delete(temp_dir_, true); |
+ base::DeleteFile(temp_dir_, true); |
// Try and restore the pending moves value, if we have one. |
if (IsUserAnAdmin() && original_pending_moves_.size() > 1) { |
@@ -228,7 +228,7 @@ TEST_F(DeleteAfterRebootHelperTest, TestFileDeleteSchedulingWithActualDeletes) { |
} |
// Delete the temporary directory. |
- base::Delete(temp_dir_, true); |
+ base::DeleteFile(temp_dir_, true); |
// Test that we can remove the pending deletes. |
EXPECT_TRUE(RemoveFromMovesPendingReboot(temp_dir_.value().c_str())); |