Index: src/gpu/GrClipMaskManager.cpp |
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp |
index 6850515f1c5e0ed323e5293c571e435f1d8998f1..9279ba5450b8c2c03ea6f15bc4a74d3c0e2398e8 100644 |
--- a/src/gpu/GrClipMaskManager.cpp |
+++ b/src/gpu/GrClipMaskManager.cpp |
@@ -8,8 +8,9 @@ |
#include "GrClipMaskManager.h" |
#include "GrAAConvexPathRenderer.h" |
#include "GrAAHairLinePathRenderer.h" |
-#include "GrAARectRenderer.h" |
#include "GrCaps.h" |
+#include "GrDrawContext.h" |
+#include "GrDrawTarget.h" |
#include "GrPaint.h" |
#include "GrPathRenderer.h" |
#include "GrRenderTarget.h" |
@@ -394,14 +395,12 @@ bool GrClipMaskManager::drawElement(GrPipelineBuilder* pipelineBuilder, |
if (element->isAA()) { |
SkRect devRect = element->getRect(); |
viewMatrix.mapRect(&devRect); |
- this->getContext()->getAARectRenderer()->fillAARect(fClipTarget, |
- pipelineBuilder, |
- color, |
- viewMatrix, |
- element->getRect(), |
- devRect); |
+ |
+ fClipTarget->drawAARect(pipelineBuilder, color, viewMatrix, |
+ element->getRect(), devRect); |
} else { |
- fClipTarget->drawSimpleRect(pipelineBuilder, color, viewMatrix, element->getRect()); |
+ fClipTarget->drawSimpleRect(pipelineBuilder, color, viewMatrix, |
+ element->getRect()); |
} |
return true; |
default: { |