Index: src/gpu/GrTextContext.cpp |
diff --git a/src/gpu/GrTextContext.cpp b/src/gpu/GrTextContext.cpp |
index 6153f3b05de56cf741d63afabfd7be8b170ffd8b..4c6dabcf7d981ab1802a77be5d58d1d60adfdfa5 100644 |
--- a/src/gpu/GrTextContext.cpp |
+++ b/src/gpu/GrTextContext.cpp |
@@ -66,6 +66,7 @@ void GrTextContext::drawText(GrRenderTarget* rt, const GrClip& clip, const GrPai |
} while (textContext); |
// fall back to drawing as a path |
+ SkASSERT(fGpuDevice); |
this->drawTextAsPath(skPaint, viewMatrix, text, byteLength, x, y, clipBounds); |
} |
@@ -89,6 +90,7 @@ void GrTextContext::drawPosText(GrRenderTarget* rt, const GrClip& clip, const Gr |
} while (textContext); |
// fall back to drawing as a path |
+ SkASSERT(fGpuDevice); |
this->drawPosTextAsPath(skPaint, viewMatrix, text, byteLength, pos, scalarsPerPosition, offset, |
clipBounds); |
} |