Index: chrome/installer/util/delete_after_reboot_helper.cc |
diff --git a/chrome/installer/util/delete_after_reboot_helper.cc b/chrome/installer/util/delete_after_reboot_helper.cc |
index c9cf0fe783f56796ee07eccf46067eed48f2697c..cf5e20ac4f9ae327c769f87af619547dedfaf8b0 100644 |
--- a/chrome/installer/util/delete_after_reboot_helper.cc |
+++ b/chrome/installer/util/delete_after_reboot_helper.cc |
@@ -250,9 +250,8 @@ base::FilePath GetShortPathName(const base::FilePath& path) { |
DWORD length = GetShortPathName(path.value().c_str(), |
base::WriteInto(&short_path, MAX_PATH), |
MAX_PATH); |
- DWORD last_error = ::GetLastError(); |
- DLOG_IF(WARNING, length == 0 && last_error != ERROR_PATH_NOT_FOUND) |
- << __FUNCTION__ << " gle=" << last_error; |
+ DPLOG_IF(WARNING, length == 0 && GetLastError() != ERROR_PATH_NOT_FOUND) |
+ << __func__; |
if ((length == 0) || (length > MAX_PATH)) { |
// GetShortPathName fails if the path is no longer present or cannot be |
// put in the size buffer provided. Instead of returning an empty string, |