Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: courgette/third_party/bsdiff/bsdiff_apply.cc

Issue 2769353003: Return BSPatch value (previously, was ignored). (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/third_party/bsdiff/bsdiff_apply.cc
diff --git a/courgette/third_party/bsdiff/bsdiff_apply.cc b/courgette/third_party/bsdiff/bsdiff_apply.cc
index 8d43c5d5175856c577d8c07c60f3fea7b7056639..76bb7d0baf6723e6723d6731496402da6fdab1ce 100644
--- a/courgette/third_party/bsdiff/bsdiff_apply.cc
+++ b/courgette/third_party/bsdiff/bsdiff_apply.cc
@@ -185,9 +185,7 @@ BSDiffStatus ApplyBinaryPatch(SourceStream* old_stream,
if (CalculateCrc(old_start, old_size) != header.scrc32)
return CRC_ERROR;
- MBS_ApplyPatch(&header, patch_stream, old_start, old_size, new_stream);
-
- return OK;
+ return MBS_ApplyPatch(&header, patch_stream, old_start, old_size, new_stream);
}
BSDiffStatus ApplyBinaryPatch(base::File old_file,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698