commit | 34e0ec40b10320765d4a4432f56e090556f9c75e | [log] [tgz] |
---|---|---|
author | msarett <msarett@google.com> | Fri Apr 22 16:27:24 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Apr 22 16:27:24 2016 -0700 |
tree | f7b05f9dce7e83b666fe0309519daeab4b8f3f1f | |
parent | a45a668fa57eb968e24f379eceb2e56324e2cca2 [diff] [blame] |
Support the non-native (RGBA/BGRA) swizzle BUG=skia:4456 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1907593004 Review URL: https://codereview.chromium.org/1907593004
diff --git a/src/codec/SkBmpStandardCodec.h b/src/codec/SkBmpStandardCodec.h index b2b53df..506742b 100644 --- a/src/codec/SkBmpStandardCodec.h +++ b/src/codec/SkBmpStandardCodec.h
@@ -70,7 +70,7 @@ * Creates the color table * Sets colorCount to the new color count if it is non-nullptr */ - bool createColorTable(SkAlphaType alphaType, int* colorCount); + bool createColorTable(SkColorType colorType, SkAlphaType alphaType, int* colorCount); void initializeSwizzler(const SkImageInfo& dstInfo, const Options& opts);