Fix for valgrind
TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1127453002
This commit is contained in:
parent
99c7c07e0f
commit
4af6580b44
@ -895,7 +895,7 @@ void GrAARectRenderer::fillAANestedRects(GrDrawTarget* target,
|
||||
SkASSERT(viewMatrix.rectStaysRect());
|
||||
SkASSERT(!rects[1].isEmpty());
|
||||
|
||||
SkRect devOutside, devOutsideAssist, devInside;
|
||||
SkRect devOutside, devInside;
|
||||
viewMatrix.mapRect(&devOutside, rects[0]);
|
||||
// can't call mapRect for devInside since it calls sort
|
||||
viewMatrix.mapPoints((SkPoint*)&devInside, (const SkPoint*)&rects[1], 2);
|
||||
@ -906,7 +906,7 @@ void GrAARectRenderer::fillAANestedRects(GrDrawTarget* target,
|
||||
}
|
||||
|
||||
this->geometryStrokeAARect(target, pipelineBuilder, color, viewMatrix, devOutside,
|
||||
devOutsideAssist, devInside, true);
|
||||
devOutside, devInside, true);
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user