Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index 6427f77960d682d9f1634cb9c41f182a31974af2..730dad620c893ab58b8812e0bf17f1d95f32f64f 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -1742,7 +1742,8 @@ void SkGpuDevice::drawText(const SkDraw& draw, const void* text, |
if (!skPaint2GrPaintShader(this, paint, true, &grPaint)) { |
return; |
} |
- GrBitmapTextContext context(fContext, grPaint); |
+ |
+ GrBitmapTextContext context(fContext, grPaint, paint.getColor()); |
myDraw.fProcs = this->initDrawForText(&context); |
this->INHERITED::drawText(myDraw, text, byteLength, x, y, paint); |
} |
@@ -1765,7 +1766,7 @@ void SkGpuDevice::drawPosText(const SkDraw& draw, const void* text, |
if (!skPaint2GrPaintShader(this, paint, true, &grPaint)) { |
return; |
} |
- GrBitmapTextContext context(fContext, grPaint); |
+ GrBitmapTextContext context(fContext, grPaint, paint.getColor()); |
myDraw.fProcs = this->initDrawForText(&context); |
this->INHERITED::drawPosText(myDraw, text, byteLength, pos, constY, |
scalarsPerPos, paint); |