Index: src/gpu/batches/GrRectBatchFactory.h |
diff --git a/src/gpu/batches/GrRectBatchFactory.h b/src/gpu/batches/GrRectBatchFactory.h |
index 8a088834387d9c70dc2c8fd428e5453d5292e504..4af81a50512fbafe57dbcd1c0af822710b748d74 100644 |
--- a/src/gpu/batches/GrRectBatchFactory.h |
+++ b/src/gpu/batches/GrRectBatchFactory.h |
@@ -27,13 +27,21 @@ GrBatch* CreateFillBW(GrColor color, |
const SkRect* localRect, |
const SkMatrix* localMatrix); |
-static GrBatch* CreateFillAA(GrColor color, |
- const SkMatrix& viewMatrix, |
- const SkRect& rect, |
- const SkRect& devRect) { |
+inline GrBatch* CreateFillAA(GrColor color, |
+ const SkMatrix& viewMatrix, |
+ const SkRect& rect, |
+ const SkRect& devRect) { |
return GrAAFillRectBatch::Create(color, viewMatrix, rect, devRect); |
} |
+inline GrBatch* CreateFillAA(GrColor color, |
+ const SkMatrix& viewMatrix, |
+ const SkMatrix& localMatrix, |
+ const SkRect& rect, |
+ const SkRect& devRect) { |
+ return GrAAFillRectBatch::Create(color, viewMatrix, localMatrix, rect, devRect); |
+} |
+ |
GrBatch* CreateStrokeBW(GrColor color, |
const SkMatrix& viewMatrix, |
const SkRect& rect, |