Index: src/codec/SkGifCodec.cpp |
diff --git a/src/codec/SkGifCodec.cpp b/src/codec/SkGifCodec.cpp |
index e55f6f3a6e46d959d6ceb9b9b0999e83e2828ffa..ec965cb3339e23d575c6b24a6c468c570e578557 100644 |
--- a/src/codec/SkGifCodec.cpp |
+++ b/src/codec/SkGifCodec.cpp |
@@ -145,8 +145,8 @@ void SkGifCodec::initializeColorTable(const SkImageInfo& dstInfo, size_t frameIn |
fCurrColorTableIsReal = fCurrColorTable; |
if (!fCurrColorTable) { |
// This is possible for an empty frame. Create a dummy with all transparent. |
- SkPMColor colors[MAX_COLORS]; |
- sk_memset32(colors, SK_ColorTRANSPARENT, MAX_COLORS); |
+ SkPMColor colors[SK_MAX_COLORS]; |
+ sk_memset32(colors, SK_ColorTRANSPARENT, SK_MAX_COLORS); |
fCurrColorTable.reset(new SkColorTable(colors, 256)); |
} |