Index: update_attempter.cc |
diff --git a/update_attempter.cc b/update_attempter.cc |
index f408d82ed982779b806f5639a0426c8bc6b4aac7..1e3bf5db730f252134479075dbd843ff44e61c5b 100644 |
--- a/update_attempter.cc |
+++ b/update_attempter.cc |
@@ -519,11 +519,8 @@ void UpdateAttempter::DisableDeltaUpdateIfNeeded() { |
void UpdateAttempter::MarkDeltaUpdateFailure() { |
CHECK(!is_full_update_); |
- // If a delta update fails after the downloading phase, don't try to resume it |
- // the next time. |
- if (status_ > UPDATE_STATUS_DOWNLOADING) { |
- DeltaPerformer::ResetUpdateProgress(prefs_, false); |
- } |
+ // Don't try to resume a failed delta update. |
+ DeltaPerformer::ResetUpdateProgress(prefs_, false); |
int64_t delta_failures; |
if (!prefs_->GetInt64(kPrefsDeltaUpdateFailures, &delta_failures) || |
delta_failures < 0) { |