Index: src/gpu/GrSWMaskHelper.cpp |
diff --git a/src/gpu/GrSWMaskHelper.cpp b/src/gpu/GrSWMaskHelper.cpp |
index 590a0401334e9cfe875e5b09efe2a24d384746dc..142cd9271816a127f1f0ec27997b3eb75cb8451d 100644 |
--- a/src/gpu/GrSWMaskHelper.cpp |
+++ b/src/gpu/GrSWMaskHelper.cpp |
@@ -348,6 +348,7 @@ GrTexture* GrSWMaskHelper::DrawPathMaskToTexture(GrContext* context, |
void GrSWMaskHelper::DrawToTargetWithPathMask(GrTexture* texture, |
GrDrawTarget* target, |
GrDrawState* drawState, |
+ GrColor color, |
const SkIRect& rect) { |
GrDrawState::AutoViewMatrixRestore avmr; |
if (!avmr.setIdentity(drawState)) { |
@@ -375,5 +376,5 @@ void GrSWMaskHelper::DrawToTargetWithPathMask(GrTexture* texture, |
GrTextureParams::kNone_FilterMode, |
kPosition_GrCoordSet))->unref(); |
- target->drawSimpleRect(drawState, dstRect); |
+ target->drawSimpleRect(drawState, color, dstRect); |
} |