diff --git a/src/core/SkBitmapProcState_matrixProcs.cpp b/src/core/SkBitmapProcState_matrixProcs.cpp index 24e3b180ca..2207f37ef0 100644 --- a/src/core/SkBitmapProcState_matrixProcs.cpp +++ b/src/core/SkBitmapProcState_matrixProcs.cpp @@ -465,7 +465,7 @@ static const SkBitmapProcState::MatrixProc MirrorX_MirrorY_Procs[] = { dst16 += 8; count -= 8; fx += dx8; - }; + } xy = (uint32_t *) dst16; } diff --git a/src/opts/SkBlitMask_opts.h b/src/opts/SkBlitMask_opts.h index 64c7c1e216..6c174a2f38 100644 --- a/src/opts/SkBlitMask_opts.h +++ b/src/opts/SkBlitMask_opts.h @@ -97,7 +97,7 @@ namespace SK_OPTS_NS { + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); } device += 1; - }; + } device = (uint32_t*)((char*)device + dstRB); mask += maskRB; @@ -148,7 +148,7 @@ namespace SK_OPTS_NS { *device = (aa << SK_A32_SHIFT) + SkAlphaMulQ(*device, SkAlpha255To256(255 - aa)); device += 1; - }; + } device = (uint32_t*)((char*)device + dstRB); mask += maskRB; } while (--height != 0);