diff options
author | benjaminwagner <benjaminwagner@google.com> | 2015-12-04 08:48:26 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-04 08:48:26 -0800 |
commit | 886e5e41db5d6d42368f225785013c9308dc66bc (patch) | |
tree | e168d7240ec06966d6469f5821e38b537e45bb71 /src/codec/SkBmpCodec.h | |
parent | be8216a922241cc8f3ea3b813608fcb06936fde0 (diff) |
Fix overflow caught by ASAN.
BUG=skia:
Review URL: https://codereview.chromium.org/1498923002
Diffstat (limited to 'src/codec/SkBmpCodec.h')
-rw-r--r-- | src/codec/SkBmpCodec.h | 5 |
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; } |