aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/codec/SkBmpCodec.h
diff options
context:
space:
mode:
authorGravatar benjaminwagner <benjaminwagner@google.com>2015-12-04 08:48:26 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-04 08:48:26 -0800
commit886e5e41db5d6d42368f225785013c9308dc66bc (patch)
treee168d7240ec06966d6469f5821e38b537e45bb71 /src/codec/SkBmpCodec.h
parentbe8216a922241cc8f3ea3b813608fcb06936fde0 (diff)
Fix overflow caught by ASAN.
Diffstat (limited to 'src/codec/SkBmpCodec.h')
-rw-r--r--src/codec/SkBmpCodec.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/codec/SkBmpCodec.h b/src/codec/SkBmpCodec.h
index 65662ff1f8..30523b0838 100644
--- a/src/codec/SkBmpCodec.h
+++ b/src/codec/SkBmpCodec.h
@@ -81,11 +81,6 @@ protected:
int32_t getDstRow(int32_t y, int32_t height) const;
/*
- * Compute the number of colors in the color table
- */
- uint32_t computeNumColors(uint32_t numColors);
-
- /*
* Accessors used by subclasses
*/
uint16_t bitsPerPixel() const { return fBitsPerPixel; }