Index: src/gpu/GrDrawContext.cpp |
diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp |
index 6161626501270a174594c704fd12cd8fb01a7fc7..ed969f7e820a5e60bbd735aa6fc0d223f93cc0c4 100644 |
--- a/src/gpu/GrDrawContext.cpp |
+++ b/src/gpu/GrDrawContext.cpp |
@@ -118,7 +118,7 @@ void GrDrawContext::drawText(const GrClip& clip, const GrPaint& grPaint, |
fTextContext = fDrawingManager->textContext(fSurfaceProps, fRenderTarget); |
} |
- fTextContext->drawText(this, clip, grPaint, skPaint, viewMatrix, |
+ fTextContext->drawText(this, clip, grPaint, skPaint, viewMatrix, fSurfaceProps, |
text, byteLength, x, y, clipBounds); |
} |
@@ -137,8 +137,8 @@ void GrDrawContext::drawPosText(const GrClip& clip, const GrPaint& grPaint, |
fTextContext = fDrawingManager->textContext(fSurfaceProps, fRenderTarget); |
} |
- fTextContext->drawPosText(this, clip, grPaint, skPaint, viewMatrix, text, byteLength, |
- pos, scalarsPerPosition, offset, clipBounds); |
+ fTextContext->drawPosText(this, clip, grPaint, skPaint, viewMatrix, fSurfaceProps, text, |
+ byteLength, pos, scalarsPerPosition, offset, clipBounds); |
} |
@@ -155,7 +155,8 @@ void GrDrawContext::drawTextBlob(const GrClip& clip, const SkPaint& skPaint, |
fTextContext = fDrawingManager->textContext(fSurfaceProps, fRenderTarget); |
} |
- fTextContext->drawTextBlob(this, clip, skPaint, viewMatrix, blob, x, y, filter, clipBounds); |
+ fTextContext->drawTextBlob(this, clip, skPaint, viewMatrix, fSurfaceProps, blob, x, y, filter, |
+ clipBounds); |
} |
void GrDrawContext::discard() { |