Index: src/codec/SkCodecPriv.h |
diff --git a/src/codec/SkCodecPriv.h b/src/codec/SkCodecPriv.h |
index 98b2d3aae5f01c52fd63232c1d558780512d11b6..90b16323a76969dc691f00844bf00963a162fbf2 100644 |
--- a/src/codec/SkCodecPriv.h |
+++ b/src/codec/SkCodecPriv.h |
@@ -41,7 +41,7 @@ static inline void copy_color_table(const SkImageInfo& dstInfo, SkColorTable* co |
SkASSERT(NULL != inputColorPtr); |
SkASSERT(NULL != inputColorCount); |
SkASSERT(NULL != colorTable); |
- sk_memcpy32(inputColorPtr, colorTable->readColors(), *inputColorCount); |
+ memcpy(inputColorPtr, colorTable->readColors(), *inputColorCount * 4); |
} |
} |