diff options
author | mtklein <mtklein@chromium.org> | 2016-04-29 14:45:36 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-29 14:45:36 -0700 |
commit | 4d9ff62fa21326003cf5394cd1d16f4b4633102a (patch) | |
tree | 4747bd2d2b17d96ed17bf27066d0c7b024ffe1a7 /tests | |
parent | 221196dac99dcbb402fd79c651e2a96fd5016dba (diff) |
Remove SkWriter32::contiguousArray().
This method requires SkWriter32 have a contiguous array.
It does, and I plan to keep it that way (last time we checked
it's faster), but this turns that feature back into an
implementation detail.
This feature is only used by another unused feature, deep copies of
ops arrays in SkPictureData. Kill that, kill this.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1932223003
Depends on https://codereview.chromium.org/1936563002/
Only deleting API
TBR=reed@google.com
Review-Url: https://codereview.chromium.org/1932223003
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Writer32Test.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/Writer32Test.cpp b/tests/Writer32Test.cpp index 5c24259a62..ac932e1d29 100644 --- a/tests/Writer32Test.cpp +++ b/tests/Writer32Test.cpp @@ -232,19 +232,6 @@ DEF_TEST(Writer32_dynamic, reporter) { testOverwriteT(reporter, &writer); } -DEF_TEST(Writer32_contiguous, reporter) { - uint32_t storage[256]; - SkWriter32 writer; - writer.reset(storage, sizeof(storage)); - // This write is small enough to fit in storage, so it's contiguous. - test1(reporter, &writer); - REPORTER_ASSERT(reporter, writer.contiguousArray() != nullptr); - - // Everything other aspect of contiguous/non-contiguous is an - // implementation detail, not part of the public contract for - // SkWriter32, and so not tested here. -} - DEF_TEST(Writer32_small, reporter) { SkSWriter32<8 * sizeof(intptr_t)> writer; test1(reporter, &writer); |