Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index ca2d2d90052df21971b0a482d9116c33a107dbc1..a4662e542a93f88ee3c8f0a5bf20c5d33c6acb88 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -22,7 +22,7 @@ |
#include "GrVertexBuffer.h" |
#include "batches/GrBatch.h" |
-#include "batches/GrRectBatch.h" |
+#include "batches/GrRectBatchFactory.h" |
#include "SkStrokeRec.h" |
@@ -294,8 +294,8 @@ void GrDrawTarget::drawBWRect(const GrPipelineBuilder& pipelineBuilder, |
const SkRect& rect, |
const SkRect* localRect, |
const SkMatrix* localMatrix) { |
- SkAutoTUnref<GrBatch> batch(GrRectBatch::Create(color, viewMatrix, rect, localRect, |
- localMatrix)); |
+ SkAutoTUnref<GrBatch> batch(GrRectBatchFactory::Create(color, viewMatrix, rect, localRect, |
+ localMatrix)); |
this->drawBatch(pipelineBuilder, batch); |
} |