diff options
author | herb <herb@google.com> | 2015-12-18 09:52:15 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-18 09:52:15 -0800 |
commit | c7a784cc8cb1c1dfcd39a32b2170ffe547904e9f (patch) | |
tree | a4ae39c648dc78dd2562730828e2996d2b03de99 /src/core/SkBlitMask.h | |
parent | 3e6be16e6d4dda6a27f0e1dbfe7c87fecfbf5577 (diff) |
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
Diffstat (limited to 'src/core/SkBlitMask.h')
-rw-r--r-- | src/core/SkBlitMask.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); /** |