Index: src/gpu/GrAtlasTextBlob.h |
diff --git a/src/gpu/GrAtlasTextBlob.h b/src/gpu/GrAtlasTextBlob.h |
index 22e2298a4e2c66effae0717902285f6f589a2b62..0d414b4242c03c4f0009f506a50deac6ffe30c0c 100644 |
--- a/src/gpu/GrAtlasTextBlob.h |
+++ b/src/gpu/GrAtlasTextBlob.h |
@@ -35,7 +35,7 @@ |
* |
* *WARNING* If you add new fields to this struct, then you may need to to update AssertEqual |
*/ |
-struct GrAtlasTextBlob : public SkRefCnt { |
+struct GrAtlasTextBlob : public SkNVRefCnt<GrAtlasTextBlob> { |
SK_DECLARE_INTERNAL_LLIST_INTERFACE(GrAtlasTextBlob); |
/* |
@@ -238,7 +238,7 @@ struct GrAtlasTextBlob : public SkRefCnt { |
, fMinMaxScale(SK_ScalarMax) |
, fTextType(0) {} |
- ~GrAtlasTextBlob() override { |
+ ~GrAtlasTextBlob() { |
for (int i = 0; i < fRunCount; i++) { |
fRuns[i].~Run(); |
} |