Index: src/gpu/GrGlyph.h |
diff --git a/src/gpu/GrGlyph.h b/src/gpu/GrGlyph.h |
index 55e925f09d120a06d455bdc71140be5c1ae5167c..fb998a494709eaf89c9afb128551b223ce3d79ba 100644 |
--- a/src/gpu/GrGlyph.h |
+++ b/src/gpu/GrGlyph.h |
@@ -28,7 +28,7 @@ struct GrGlyph { |
kCoverage_MaskStyle, |
kDistance_MaskStyle |
}; |
- |
+ |
typedef uint32_t PackedID; |
GrBatchAtlas::AtlasID fID; |
@@ -49,7 +49,7 @@ struct GrGlyph { |
fTooLargeForAtlas = GrBatchAtlas::GlyphTooLargeForAtlas(bounds.width(), bounds.height()); |
} |
- void free() { |
+ void reset() { |
if (fPath) { |
delete fPath; |
fPath = nullptr; |
@@ -86,7 +86,7 @@ struct GrGlyph { |
static inline MaskStyle UnpackMaskStyle(PackedID packed) { |
return ((packed >> 20) & 1) ? kDistance_MaskStyle : kCoverage_MaskStyle; |
} |
- |
+ |
static inline uint16_t UnpackID(PackedID packed) { |
return (uint16_t)packed; |
} |