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