Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1168)

Unified Diff: src/gpu/GrAtlasTextBlob.h

Issue 1503213003: Make GrAtlasTextBlob non-virtual (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698