Index: src/gpu/batches/GrRectBatchFactory.h |
diff --git a/src/gpu/batches/GrRectBatchFactory.h b/src/gpu/batches/GrRectBatchFactory.h |
index d6fe67398d77a06d5a125c723f1dc1580e6593b9..8a088834387d9c70dc2c8fd428e5453d5292e504 100644 |
--- a/src/gpu/batches/GrRectBatchFactory.h |
+++ b/src/gpu/batches/GrRectBatchFactory.h |
@@ -8,6 +8,7 @@ |
#ifndef GrRectBatchFactory_DEFINED |
#define GrRectBatchFactory_DEFINED |
+#include "GrAAFillRectBatch.h" |
#include "GrColor.h" |
class GrBatch; |
@@ -26,10 +27,12 @@ GrBatch* CreateFillBW(GrColor color, |
const SkRect* localRect, |
const SkMatrix* localMatrix); |
-GrBatch* CreateFillAA(GrColor color, |
+static GrBatch* CreateFillAA(GrColor color, |
const SkMatrix& viewMatrix, |
const SkRect& rect, |
- const SkRect& devRect); |
+ const SkRect& devRect) { |
+ return GrAAFillRectBatch::Create(color, viewMatrix, rect, devRect); |
+} |
GrBatch* CreateStrokeBW(GrColor color, |
const SkMatrix& viewMatrix, |