Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index b4bcfd31344ea0b0a606aaccc09dd73c632ce841..2eaf63c305e5b2d119a7a95d0ca22741f61c18bd 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -146,7 +146,7 @@ bool GrContext::init(GrBackend backend, GrBackendContext backendContext) { |
fLastDrawWasBuffered = kNo_BufferedDraw; |
- fAARectRenderer = SkNEW(GrAARectRenderer); |
+ fAARectRenderer = SkNEW_ARGS(GrAARectRenderer, (fGpu)); |
fOvalRenderer = SkNEW(GrOvalRenderer); |
fDidTestPMConversions = false; |
@@ -779,12 +779,12 @@ void GrContext::drawRect(const GrPaint& paint, |
return; |
} |
if (width >= 0) { |
- fAARectRenderer->strokeAARect(this->getGpu(), target, rect, |
+ fAARectRenderer->strokeAARect(target, rect, |
matrix, devBoundRect, |
strokeRec); |
} else { |
// filled AA rect |
- fAARectRenderer->fillAARect(this->getGpu(), target, |
+ fAARectRenderer->fillAARect(target, |
rect, matrix, devBoundRect); |
} |
return; |
@@ -1174,7 +1174,7 @@ void GrContext::drawPath(const GrPaint& paint, const SkPath& path, const GrStrok |
return; |
} |
- fAARectRenderer->fillAANestedRects(this->getGpu(), target, rects, origViewMatrix); |
+ fAARectRenderer->fillAANestedRects(target, rects, origViewMatrix); |
return; |
} |
} |