summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/delete_after_reboot_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/util/delete_after_reboot_helper.cc')
-rw-r--r--chrome/installer/util/delete_after_reboot_helper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/installer/util/delete_after_reboot_helper.cc b/chrome/installer/util/delete_after_reboot_helper.cc
index 1bc322c..a54acb3 100644
--- a/chrome/installer/util/delete_after_reboot_helper.cc
+++ b/chrome/installer/util/delete_after_reboot_helper.cc
@@ -64,7 +64,7 @@ bool ScheduleFileSystemEntityForDeletion(const wchar_t* path) {
}
DWORD flags = MOVEFILE_DELAY_UNTIL_REBOOT;
- if (!file_util::DirectoryExists(FilePath::FromWStringHack(path))) {
+ if (!file_util::DirectoryExists(path)) {
// This flag valid only for files
flags |= MOVEFILE_REPLACE_EXISTING;
}