Index: src/gpu/GrDrawContext.cpp |
diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp |
index fe8730e60f28d8a2c1d117eca8faa6ed45ce8ba7..d73097a816981ddc2389e29b5fea2e6f18f070a0 100644 |
--- a/src/gpu/GrDrawContext.cpp |
+++ b/src/gpu/GrDrawContext.cpp |
@@ -385,8 +385,8 @@ bool GrDrawContext::drawFilledRect(const GrClip& clip, |
SkRect devBoundRect; |
viewMatrix.mapRect(&devBoundRect, croppedRect); |
- batch.reset(GrRectBatchFactory::CreateAAFill(paint.getColor(), viewMatrix, |
- croppedRect, devBoundRect)); |
+ batch.reset(GrRectBatchFactory::CreateAAFill(paint, viewMatrix, rect, croppedRect, |
+ devBoundRect)); |
if (batch) { |
GrPipelineBuilder pipelineBuilder(paint, useHWAA); |
if (ss) { |