Index: src/gpu/GrAtlasTextContext.h |
diff --git a/src/gpu/GrAtlasTextContext.h b/src/gpu/GrAtlasTextContext.h |
index c0975b9857df5c583dd9eeb41e3095d2fee9be58..ebd94f9b3d330bdfe55b27dcb11592f69f7d4404 100644 |
--- a/src/gpu/GrAtlasTextContext.h |
+++ b/src/gpu/GrAtlasTextContext.h |
@@ -252,6 +252,12 @@ private: |
, fMinMaxScale(SK_ScalarMax) |
, fTextType(0) {} |
+ ~BitmapTextBlob() override { |
+ for (int i = 0; i < fRunCount; i++) { |
+ fRuns[i].~Run(); |
+ } |
+ } |
+ |
static const Key& GetKey(const BitmapTextBlob& blob) { |
return blob.fKey; |
} |