Make GrAtlasTextBlob non-virtual
authorjoshualitt <joshualitt@chromium.org>
Mon, 7 Dec 2015 21:26:31 +0000 (13:26 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 7 Dec 2015 21:26:31 +0000 (13:26 -0800)
BUG=skia:

Review URL: https://codereview.chromium.org/1503213003

src/gpu/GrAtlasTextBlob.h

index 22e2298..0d414b4 100644 (file)
@@ -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();
         }