Index: src/gpu/GrAtlasTextContext.cpp |
diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp |
index 822c480ef3fc44ee09aa104ccd50e57fd42b367c..81cc6471f75462853bcec731ebe6f00bac63883f 100644 |
--- a/src/gpu/GrAtlasTextContext.cpp |
+++ b/src/gpu/GrAtlasTextContext.cpp |
@@ -389,7 +389,7 @@ void GrAtlasTextContext::drawTextBlob(GrDrawContext* dc, GrRenderTarget* rt, |
// Though for the time being runs in the textblob can override the paint, they only touch font |
// info. |
GrPaint grPaint; |
- if (!SkPaint2GrPaint(fContext, rt, skPaint, viewMatrix, true, &grPaint)) { |
+ if (!SkPaint2GrPaint(fContext, skPaint, viewMatrix, true, &grPaint)) { |
return; |
} |
@@ -2265,7 +2265,7 @@ DRAW_BATCH_TEST_DEFINE(TextBlobBatch) { |
skPaint.setSubpixelText(random->nextBool()); |
GrPaint grPaint; |
- if (!SkPaint2GrPaint(context, rt, skPaint, viewMatrix, true, &grPaint)) { |
+ if (!SkPaint2GrPaint(context, skPaint, viewMatrix, true, &grPaint)) { |
SkFAIL("couldn't convert paint\n"); |
} |