| Index: chrome/installer/setup/setup_util.cc
|
| diff --git a/chrome/installer/setup/setup_util.cc b/chrome/installer/setup/setup_util.cc
|
| index 75cc8a61e01e8a33c2e164aeb3b3aec81f3a3b1d..f55c8629afd660a1ef5e0172d5fe5a880c1595b6 100644
|
| --- a/chrome/installer/setup/setup_util.cc
|
| +++ b/chrome/installer/setup/setup_util.cc
|
| @@ -37,7 +37,6 @@
|
| #include "chrome/installer/util/util_constants.h"
|
| #include "courgette/courgette.h"
|
| #include "courgette/third_party/bsdiff/bsdiff.h"
|
| -#include "third_party/bspatch/mbspatch.h"
|
|
|
| namespace installer {
|
|
|
| @@ -87,8 +86,8 @@ int BsdiffPatchFiles(const base::FilePath& src,
|
| if (src.empty() || patch.empty() || dest.empty())
|
| return installer::PATCH_INVALID_ARGUMENTS;
|
|
|
| - const int patch_status = courgette::ApplyBinaryPatch(src, patch, dest);
|
| - const int exit_code = patch_status != OK ?
|
| + const int patch_status = bsdiff::ApplyBinaryPatch(src, patch, dest);
|
| + const int exit_code = patch_status != bsdiff::OK ?
|
| patch_status + kBsdiffErrorOffset : 0;
|
|
|
| LOG_IF(ERROR, exit_code)
|
|
|