diff options
author | Herb Derby <herb@google.com> | 2018-07-11 20:03:13 +0000 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-11 20:03:19 +0000 |
commit | ba383208043a69666ada6c22757e656927fd6bfc (patch) | |
tree | 8bd47a9fc8ac1d120477941e82575cb448ade186 /tests | |
parent | 143cf8e5994c54aa8c1b721f7af1d3fc9fd83602 (diff) |
Revert "Use simple buffers instead of vectors"
This reverts commit b188da121c1575caa6b0b9755e3f80a6b5e44611.
Reason for revert: Patch on a rollback
Original change's description:
> Use simple buffers instead of vectors
>
> Start using simple buffers, these will be used for
> multiple runs latter on.
>
> Change-Id: I8dadbed036b7a60d708c49b84bb5e3bb3710f704
> Reviewed-on: https://skia-review.googlesource.com/140578
> Reviewed-by: Mike Klein <mtklein@google.com>
> Commit-Queue: Herb Derby <herb@google.com>
TBR=mtklein@google.com,herb@google.com
Change-Id: I51d9ad9bc0fd7efb93e5db4dc504d8dc31e7cfb4
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/140802
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/GlyphRunTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GlyphRunTest.cpp b/tests/GlyphRunTest.cpp index 7ec14240e7..0e0c441b75 100644 --- a/tests/GlyphRunTest.cpp +++ b/tests/GlyphRunTest.cpp @@ -24,7 +24,7 @@ DEF_TEST(GlyphRunGlyphIDSetBasic, reporter) { std::vector<SkGlyphID> test{uniqueGlyphIDs.begin(), uniqueGlyphIDs.end()}; std::sort(test.begin(), test.end()); auto newEnd = std::unique(test.begin(), test.end()); - REPORTER_ASSERT(reporter, uniqueGlyphIDs.size() == (size_t)(newEnd - test.begin())); + REPORTER_ASSERT(reporter, uniqueGlyphIDs.size() == newEnd - test.begin()); REPORTER_ASSERT(reporter, uniqueGlyphIDs.size() == 4); { uint16_t answer[] = {0, 1, 2, 1, 3}; |