| Index: src/gpu/GrAtlasTextContext.cpp
|
| diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp
|
| index 29dd072df1d686c68583dced602a5b3a6e725c3c..f2e993aa7eb04106083709af5b7305567b89a873 100644
|
| --- a/src/gpu/GrAtlasTextContext.cpp
|
| +++ b/src/gpu/GrAtlasTextContext.cpp
|
| @@ -247,7 +247,9 @@ void GrAtlasTextContext::drawTextBlob(GrRenderTarget* rt, const GrClip& clip,
|
| // Though for the time being runs in the textblob can override the paint, they only touch font
|
| // info.
|
| GrPaint grPaint;
|
| - SkPaint2GrPaintShader(fContext, rt, skPaint, viewMatrix, true, &grPaint);
|
| + if (!SkPaint2GrPaint(fContext, rt, skPaint, viewMatrix, true, &grPaint)) {
|
| + return;
|
| + }
|
|
|
| if (cacheBlob) {
|
| if (MustRegenerateBlob(&transX, &transY, *cacheBlob, skPaint, blurRec, viewMatrix, x, y)) {
|
|
|