| Index: src/gpu/text/GrAtlasTextContext.cpp
|
| diff --git a/src/gpu/text/GrAtlasTextContext.cpp b/src/gpu/text/GrAtlasTextContext.cpp
|
| index e286aa6d0f8965d818b7101640cda55d5ee9653c..d491da901e7e534fe26045616715760027ef80fb 100644
|
| --- a/src/gpu/text/GrAtlasTextContext.cpp
|
| +++ b/src/gpu/text/GrAtlasTextContext.cpp
|
| @@ -281,7 +281,7 @@ GrAtlasTextContext::createDrawTextBlob(const GrPaint& paint, const SkPaint& skPa
|
| int glyphCount = skPaint.countText(text, byteLength);
|
|
|
| GrAtlasTextBlob* blob = fCache->createBlob(glyphCount, 1, GrAtlasTextBlob::kGrayTextVASize);
|
| - blob->initThrowawayBlob(viewMatrix);
|
| + blob->initThrowawayBlob(viewMatrix, x, y);
|
|
|
| if (GrTextUtils::CanDrawAsDistanceFields(skPaint, viewMatrix, fSurfaceProps,
|
| *fContext->caps()->shaderCaps())) {
|
| @@ -304,7 +304,7 @@ GrAtlasTextContext::createDrawPosTextBlob(const GrPaint& paint, const SkPaint& s
|
| int glyphCount = skPaint.countText(text, byteLength);
|
|
|
| GrAtlasTextBlob* blob = fCache->createBlob(glyphCount, 1, GrAtlasTextBlob::kGrayTextVASize);
|
| - blob->initThrowawayBlob(viewMatrix);
|
| + blob->initThrowawayBlob(viewMatrix, offset.x(), offset.y());
|
|
|
| if (GrTextUtils::CanDrawAsDistanceFields(skPaint, viewMatrix, fSurfaceProps,
|
| *fContext->caps()->shaderCaps())) {
|
|
|