Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index 2f997010d9a0f79f245e3ddeac8ee29f60a73fbf..b4fce992ac502907b04d43c0eaf100a6402d1afc 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -8,7 +8,6 @@ |
#include "GrDrawTarget.h" |
-#include "GrAARectRenderer.h" |
#include "GrCaps.h" |
#include "GrGpu.h" |
#include "GrPath.h" |
@@ -304,7 +303,8 @@ void GrDrawTarget::drawAARect(const GrPipelineBuilder& pipelineBuilder, |
const SkMatrix& viewMatrix, |
const SkRect& rect, |
const SkRect& devRect) { |
- GrAARectRenderer::FillAARect(this, pipelineBuilder, color, viewMatrix, rect, devRect); |
+ SkAutoTUnref<GrBatch> batch(GrRectBatchFactory::CreateFillAA(color, viewMatrix, rect, devRect)); |
+ this->drawBatch(pipelineBuilder, batch); |
} |
void GrDrawTarget::clear(const SkIRect* rect, |