Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index da35033b77a5931ec4c09388abdcbc5fde8a7105..3a93404af17832b421c94bc3f8df1ed08cb81a73 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -766,17 +766,14 @@ void GrContext::drawRect(const GrPaint& paint, |
!target->getDrawState().getRenderTarget()->isMultisampled(); |
bool doAA = needAA && apply_aa_to_rect(target, rect, width, matrix, &devBoundRect); |
- const SkStrokeRec& strokeRec = strokeInfo->getStrokeRec(); |
- |
if (doAA) { |
GrDrawState::AutoViewMatrixRestore avmr; |
if (!avmr.setIdentity(target->drawState())) { |
return; |
} |
if (width >= 0) { |
- fAARectRenderer->strokeAARect(target, rect, |
- matrix, devBoundRect, |
- strokeRec); |
+ const SkStrokeRec& strokeRec = strokeInfo->getStrokeRec(); |
+ fAARectRenderer->strokeAARect(target, rect, matrix, devBoundRect, strokeRec); |
} else { |
// filled AA rect |
fAARectRenderer->fillAARect(target, |