From c7a784cc8cb1c1dfcd39a32b2170ffe547904e9f Mon Sep 17 00:00:00 2001 From: herb Date: Fri, 18 Dec 2015 09:52:15 -0800 Subject: Fix UB function problems for shaders and mask. BUG=skia:4634 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1530743002 Committed: https://skia.googlesource.com/skia/+/dafd044e4aea529f88d899247678d4549f776388 Review URL: https://codereview.chromium.org/1530743002 --- src/core/SkBlitMask.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/SkBlitMask.h') diff --git a/src/core/SkBlitMask.h b/src/core/SkBlitMask.h index f36f9f3d82..b53ff7dfd8 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); /** -- cgit v1.2.3