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

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

Issue 2078743002: [Courgette] Make BSDiff search() use lexicographical_compare(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync. Created 4 years, 6 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 | « courgette/courgette.gyp ('k') | courgette/third_party/bsdiff/bsdiff_search.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/third_party/bsdiff/bsdiff_create.cc
diff --git a/courgette/third_party/bsdiff/bsdiff_create.cc b/courgette/third_party/bsdiff/bsdiff_create.cc
index eab63d3f28ea4b67ce950abbcd3e5644f7f811ed..b89c2f1a57a997fef35fdf1d881c9b4a7e29aa94 100644
--- a/courgette/third_party/bsdiff/bsdiff_create.cc
+++ b/courgette/third_party/bsdiff/bsdiff_create.cc
@@ -48,7 +48,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
#include "courgette/third_party/bsdiff/bsdiff.h"
#include <stddef.h>
@@ -62,6 +61,7 @@
#include "courgette/crc.h"
#include "courgette/streams.h"
+#include "courgette/third_party/bsdiff/bsdiff_search.h"
#include "courgette/third_party/bsdiff/paged_array.h"
#include "courgette/third_party/bsdiff/qsufsort.h"
@@ -174,7 +174,7 @@ BSDiffStatus CreateBinaryPatch(SourceStream* old_stream,
scan += match_length;
for (int scsc = scan; scan < newsize; ++scan) {
- match_length = qsuf::search<PagedArray<int>&>(
+ match_length = courgette::search<PagedArray<int>&>(
I, old, oldsize, newbuf + scan, newsize - scan, &pos);
for (; scsc < scan + match_length; scsc++)
« no previous file with comments | « courgette/courgette.gyp ('k') | courgette/third_party/bsdiff/bsdiff_search.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698