Index: src/gpu/GrAtlasTextContext.cpp |
diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp |
index 81769db6ec149a7b0126f29f9f963441d1951bc5..950d93b961d3d1d7e5103469f46621b66e299e9f 100644 |
--- a/src/gpu/GrAtlasTextContext.cpp |
+++ b/src/gpu/GrAtlasTextContext.cpp |
@@ -2217,7 +2217,7 @@ void GrAtlasTextContext::flush(GrDrawTarget* target, |
#ifdef GR_TEST_UTILS |
-BATCH_TEST_DEFINE(TextBlob) { |
+BATCH_TEST_DEFINE(TextBlobBatch) { |
static uint32_t gContextID = SK_InvalidGenID; |
static GrAtlasTextContext* gTextContext = NULL; |
static SkDeviceProperties gDeviceProperties(SkDeviceProperties::kLegacyLCD_InitType); |
@@ -2245,7 +2245,7 @@ BATCH_TEST_DEFINE(TextBlob) { |
// Setup dummy SkPaint / GrPaint |
GrColor color = GrRandomColor(random); |
- SkMatrix viewMatrix = GrTest::TestMatrix(random); |
+ SkMatrix viewMatrix = GrTest::TestMatrixInvertible(random); |
SkPaint skPaint; |
skPaint.setDistanceFieldTextTEMP(random->nextBool()); |
skPaint.setColor(color); |