Index: content/browser/download/base_file.cc |
diff --git a/content/browser/download/base_file.cc b/content/browser/download/base_file.cc |
index 0ca3f6f7fff5dd118f6c5970c7aa4763883cac1b..396ac33cee2ce1b5333ccb22a8f2b8380bab0304 100644 |
--- a/content/browser/download/base_file.cc |
+++ b/content/browser/download/base_file.cc |
@@ -189,7 +189,7 @@ net::Error RenameFileAndResetSecurityDescriptor( |
int result = SHFileOperation(&move_info); |
if (result == 0) |
- return net::OK; |
+ return (move_info.fAnyOperationsAborted) ? net::ERR_ABORTED : net::OK; |
return MapShFileOperationCodes(result); |
} |