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

Unified Diff: src/codec/SkCodecPriv.h

Issue 1256763003: Remove sk_memcpy32 (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 5 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 | « include/core/SkUtils.h ('k') | src/core/SkBlitRow_D32.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « include/core/SkUtils.h ('k') | src/core/SkBlitRow_D32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698