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

Unified Diff: src/core/SkBlitMask.h

Issue 1530743002: Fix UB function problems for shaders and mask. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix 16-bit masks Created 5 years 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 | « src/core/SkBitmapProcState_shaderproc.h ('k') | src/core/SkBlitMask_D32.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkBlitMask.h
diff --git a/src/core/SkBlitMask.h b/src/core/SkBlitMask.h
index f36f9f3d829a6c562b0de119d4d5531172efd113..b53ff7dfd82b1b6764810aadf4b51429c783be9b 100644
--- a/src/core/SkBlitMask.h
+++ b/src/core/SkBlitMask.h
@@ -44,7 +44,7 @@ public:
* onto a row of dst colors. The RowFactory that returns this function ptr
* will have been told the formats for the mask and the dst.
*/
- typedef void (*RowProc)(void* dst, const void* mask,
+ typedef void (*RowProc)(SkPMColor* dst, const void* mask,
const SkPMColor* src, int width);
/**
« no previous file with comments | « src/core/SkBitmapProcState_shaderproc.h ('k') | src/core/SkBlitMask_D32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698