From bae9ff70d911e1c1fe1db776f2640b45e9d5e749 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Wed, 29 Aug 2012 20:23:24 +0000 Subject: [PATCH] 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 --- src/core/SkScalerContext.cpp | 1 - 1 file changed, 1 deletion(-) 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; -- 2.7.4