diff options
-rw-r--r-- | src/gpu/GrAtlasTextContext.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpu/GrAtlasTextContext.h b/src/gpu/GrAtlasTextContext.h index c0975b9857..ebd94f9b3d 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; } |