diff options
author | Mike Reed <reed@google.com> | 2017-07-17 10:13:58 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-17 20:37:28 +0000 |
commit | 262b319dcdbf6329d5ca3212b22323ebec7a7b49 (patch) | |
tree | b10f16da65b12d577c37981bee52be6316e05024 /src/codec/SkCodecImageGenerator.cpp | |
parent | 4d7a9bf0c0ec32394fb5923e01f816ca5ff29cd4 (diff) |
Index8 is dead, remove guarded code
Needs google3 to be updated before this can land.
Bug: skia:6828
Change-Id: I2c16be13c6937ffa48768cc24f9f980171c824d6
Reviewed-on: https://skia-review.googlesource.com/23940
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'src/codec/SkCodecImageGenerator.cpp')
-rw-r--r-- | src/codec/SkCodecImageGenerator.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/codec/SkCodecImageGenerator.cpp b/src/codec/SkCodecImageGenerator.cpp index 79cb253bfe..7be6277f56 100644 --- a/src/codec/SkCodecImageGenerator.cpp +++ b/src/codec/SkCodecImageGenerator.cpp @@ -22,12 +22,6 @@ static SkImageInfo adjust_info(const SkImageInfo& info) { if (kUnpremul_SkAlphaType == info.alphaType()) { newInfo = newInfo.makeAlphaType(kPremul_SkAlphaType); } - -#ifdef SK_SUPPORT_LEGACY_INDEX_8_COLORTYPE - if (kIndex_8_SkColorType == info.colorType()) { - newInfo = newInfo.makeColorType(kN32_SkColorType); - } -#endif return newInfo; } |