diff options
author | 2015-12-07 13:26:31 -0800 | |
---|---|---|
committer | 2015-12-07 13:26:31 -0800 | |
commit | b3adc2690aabfc539afcb06ad15ea792039b8325 (patch) | |
tree | 0d7aece8b711599e938a209fddf9a838c476d526 /src | |
parent | c41e7e14f4a0076d277870502168ed870e558dfc (diff) |
Make GrAtlasTextBlob non-virtual
BUG=skia:
Review URL: https://codereview.chromium.org/1503213003
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/GrAtlasTextBlob.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrAtlasTextBlob.h b/src/gpu/GrAtlasTextBlob.h index 22e2298a4e..0d414b4242 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(); } |