From: reed@google.com Date: Wed, 29 Aug 2012 20:23:24 +0000 (+0000) Subject: SkDraw's constructor zero's is fields, so don't do it outside X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~14989 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bae9ff70d911e1c1fe1db776f2640b45e9d5e749;p=platform%2Fupstream%2FlibSkiaSharp.git SkDraw's constructor zero's is fields, so don't do it outside git-svn-id: http://skia.googlecode.com/svn/trunk@5340 2bbb7eff-a529-9590-31e7-b0007b416f81 --- diff --git a/src/core/SkScalerContext.cpp b/src/core/SkScalerContext.cpp index 1072905..9740017 100644 --- a/src/core/SkScalerContext.cpp +++ b/src/core/SkScalerContext.cpp @@ -448,7 +448,6 @@ static void generateMask(const SkMask& mask, const SkPath& path, SkMaskGamma::Pr sk_bzero(bm.getPixels(), bm.getSafeSize()); SkDraw draw; - sk_bzero(&draw, sizeof(draw)); draw.fRC = &clip; draw.fClip = &clip.bwRgn(); draw.fMatrix = &matrix;