Index: src/gpu/text/GrTextUtils.cpp |
diff --git a/src/gpu/text/GrTextUtils.cpp b/src/gpu/text/GrTextUtils.cpp |
index 9d6bb2c857dfa18de7a512bf1037e60d487dcd8d..969be421c332f9fab147055aee8fb2f8765361dd 100644 |
--- a/src/gpu/text/GrTextUtils.cpp |
+++ b/src/gpu/text/GrTextUtils.cpp |
@@ -35,6 +35,9 @@ void GrTextUtils::DrawBmpText(GrAtlasTextBlob* blob, int runIndex, |
return; |
} |
+ // Ensure the blob is set for bitmaptext |
+ blob->setHasBitmap(); |
+ |
GrBatchTextStrike* currStrike = nullptr; |
// Get GrFontScaler from cache |
@@ -73,6 +76,9 @@ void GrTextUtils::DrawBmpPosText(GrAtlasTextBlob* blob, int runIndex, |
return; |
} |
+ // Ensure the blob is set for bitmaptext |
+ blob->setHasBitmap(); |
+ |
GrBatchTextStrike* currStrike = nullptr; |
// Get GrFontScaler from cache |