Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Unified Diff: src/codec/SkGifCodec.cpp

Issue 2447223002: SK_FIX_BUILD (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698