aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-12-07 13:26:31 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-07 13:26:31 -0800
commitb3adc2690aabfc539afcb06ad15ea792039b8325 (patch)
tree0d7aece8b711599e938a209fddf9a838c476d526 /src
parentc41e7e14f4a0076d277870502168ed870e558dfc (diff)
Make GrAtlasTextBlob non-virtual
Diffstat (limited to 'src')
-rw-r--r--src/gpu/GrAtlasTextBlob.h4
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();
}