Skip to content

Commit

Permalink
Remove unneeded sk_bzero
Browse files Browse the repository at this point in the history
Change-Id: Id06ca338b7ff041775b94a9c557c6fc8a297a48f
Reviewed-on: https://skia-review.googlesource.com/c/165684
Auto-Submit: Herb Derby <[email protected]>
Commit-Queue: Mike Klein <[email protected]>
Reviewed-by: Mike Klein <[email protected]>
  • Loading branch information
herbderby authored and Skia Commit-Bot committed Oct 29, 2018
1 parent 797197a commit 618decb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/gpu/GrSWMaskHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ bool GrSWMaskHelper::init(const SkIRect& resultBounds) {
}
fPixels->erase(0);

sk_bzero(&fDraw, sizeof(fDraw));
fDraw.fDst = *fPixels;
fRasterClip.setRect(bounds);
fDraw.fRC = &fRasterClip;
Expand Down
2 changes: 0 additions & 2 deletions src/gpu/ops/GrSmallPathRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,6 @@ class GrSmallPathRenderer::SmallPathOp final : public GrMeshDrawOp {
paint.setAntiAlias(true);

SkDraw draw;
sk_bzero(&draw, sizeof(draw));

SkRasterClip rasterClip;
rasterClip.setRect(devPathBounds);
Expand Down Expand Up @@ -703,7 +702,6 @@ class GrSmallPathRenderer::SmallPathOp final : public GrMeshDrawOp {
paint.setAntiAlias(true);

SkDraw draw;
sk_bzero(&draw, sizeof(draw));

SkRasterClip rasterClip;
rasterClip.setRect(devPathBounds);
Expand Down

0 comments on commit 618decb

Please sign in to comment.