aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/codec/SkBmpStandardCodec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/codec/SkBmpStandardCodec.h')
-rw-r--r--src/codec/SkBmpStandardCodec.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/codec/SkBmpStandardCodec.h b/src/codec/SkBmpStandardCodec.h
index ec3d707ab8..f9ce5c6839 100644
--- a/src/codec/SkBmpStandardCodec.h
+++ b/src/codec/SkBmpStandardCodec.h
@@ -47,16 +47,15 @@ public:
protected:
Result onGetPixels(const SkImageInfo& dstInfo, void* dst,
- size_t dstRowBytes, const Options&, SkPMColor*,
- int*, int*) override;
+ size_t dstRowBytes, const Options&,
+ int*) override;
bool onInIco() const override {
return fInIco;
}
SkCodec::Result onPrepareToDecode(const SkImageInfo& dstInfo,
- const SkCodec::Options& options, SkPMColor inputColorPtr[],
- int* inputColorCount) override;
+ const SkCodec::Options& options) override;
uint64_t onGetFillValue(const SkImageInfo&) const override;
@@ -70,9 +69,8 @@ private:
/*
* Creates the color table
- * Sets colorCount to the new color count if it is non-nullptr
*/
- bool createColorTable(SkColorType colorType, SkAlphaType alphaType, int* colorCount);
+ bool createColorTable(SkColorType colorType, SkAlphaType alphaType);
void initializeSwizzler(const SkImageInfo& dstInfo, const Options& opts);