diff options
author | rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-23 18:14:13 +0000 |
---|---|---|
committer | rmistry@google.com <rmistry@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-23 18:14:13 +0000 |
commit | d6176b0dcacb124539e0cfd051e6d93a9782f020 (patch) | |
tree | 9e6f4b465e54c9b26e1ba70cd8890b55abb08464 /src/gpu/GrTBSearch.h | |
parent | fbfcd5602128ec010c82cb733c9cdc0a3254f9f3 (diff) |
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/)
This CL is part II of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6474054
git-svn-id: http://skia.googlecode.com/svn/trunk@5263 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrTBSearch.h')
-rw-r--r-- | src/gpu/GrTBSearch.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/GrTBSearch.h b/src/gpu/GrTBSearch.h index 2697f3733b..1d77c958c1 100644 --- a/src/gpu/GrTBSearch.h +++ b/src/gpu/GrTBSearch.h @@ -18,7 +18,7 @@ int GrTBSearch(const ELEM array[], int count, KEY target) { // we should insert it at 0 return ~0; } - + int high = count - 1; int low = 0; while (high > low) { @@ -29,12 +29,12 @@ int GrTBSearch(const ELEM array[], int count, KEY target) { high = index; } } - + // check if we found it if (EQ(array[high], target)) { return high; } - + // now return the ~ of where we should insert it if (LT(array[high], target)) { high += 1; |