Skip to content

Commit

Permalink
SkDraw's constructor zero's is fields, so don't do it outside
Browse files Browse the repository at this point in the history
git-svn-id: http://skia.googlecode.com/svn/trunk@5340 2bbb7eff-a529-9590-31e7-b0007b416f81
  • Loading branch information
reed@google.com committed Aug 29, 2012
1 parent ad8c960 commit ae007ba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/SkScalerContext.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit ae007ba

Please sign in to comment.