Index: include/core/SkTextBlob.h |
diff --git a/include/core/SkTextBlob.h b/include/core/SkTextBlob.h |
index 8ee1d1919628b10e0d3f3ca6085a02ad619a68b2..5b1fe315cd75ba9072a07c769a569ecbf3b08e73 100644 |
--- a/include/core/SkTextBlob.h |
+++ b/include/core/SkTextBlob.h |
@@ -79,7 +79,10 @@ private: |
SkTextBlob(int runCount, const SkRect& bounds); |
virtual ~SkTextBlob(); |
- virtual void internal_dispose() const SK_OVERRIDE; |
+ |
+ // Memory for objects of this class is created with sk_malloc rather than operator new and must |
+ // be freed with sk_free. |
+ void operator delete(void* p) { sk_free(p); } |
static unsigned ScalarsPerGlyph(GlyphPositioning pos); |