Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index a4662e542a93f88ee3c8f0a5bf20c5d33c6acb88..2f997010d9a0f79f245e3ddeac8ee29f60a73fbf 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -294,8 +294,8 @@ void GrDrawTarget::drawBWRect(const GrPipelineBuilder& pipelineBuilder, |
const SkRect& rect, |
const SkRect* localRect, |
const SkMatrix* localMatrix) { |
- SkAutoTUnref<GrBatch> batch(GrRectBatchFactory::Create(color, viewMatrix, rect, localRect, |
- localMatrix)); |
+ SkAutoTUnref<GrBatch> batch(GrRectBatchFactory::CreateFillBW(color, viewMatrix, rect, localRect, |
+ localMatrix)); |
this->drawBatch(pipelineBuilder, batch); |
} |