aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GifTest.cpp
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-04-01 12:14:57 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-01 16:46:11 +0000
commit9920b10f5292838f00600f676c4578cd11705e60 (patch)
tree9217d23bf701b4ccfd15d818bfea44b766ad4fc3 /tests/GifTest.cpp
parentec61785bbb989a1901b063923da30c04ed41332f (diff)
Revert[2] "clean up (partially) colortable api""
This reverts commit 1d1165ca6575e082b892c5460492c411618783ad. Bug: skia: Change-Id: Idbc0634ae3cec2e79f592d252de8751b077e6408 Reviewed-on: https://skia-review.googlesource.com/11024 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'tests/GifTest.cpp')
-rw-r--r--tests/GifTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GifTest.cpp b/tests/GifTest.cpp
index dae2bc9329..0168d89d83 100644
--- a/tests/GifTest.cpp
+++ b/tests/GifTest.cpp
@@ -256,7 +256,7 @@ DEF_TEST(Gif_Sampled, r) {
options.fColorCount = colorCountPtr;
SkBitmap bm;
- bm.allocPixels(codec->getInfo(), nullptr, colorTable.get());
+ bm.allocPixels(codec->getInfo(), colorTable);
const SkCodec::Result result = codec->getAndroidPixels(codec->getInfo(), bm.getPixels(),
bm.rowBytes(), &options);
REPORTER_ASSERT(r, result == SkCodec::kSuccess);