Index: src/gpu/text/GrBatchFontCache.cpp |
diff --git a/src/gpu/text/GrBatchFontCache.cpp b/src/gpu/text/GrBatchFontCache.cpp |
index d99df1da0376ca59b742a925c577bb66827fdb8c..97c55e28adf38d670f55d0c89ee1ab1818d766cf 100644 |
--- a/src/gpu/text/GrBatchFontCache.cpp |
+++ b/src/gpu/text/GrBatchFontCache.cpp |
@@ -165,7 +165,7 @@ GrBatchTextStrike::GrBatchTextStrike(GrBatchFontCache* cache, const GrFontDescKe |
GrBatchTextStrike::~GrBatchTextStrike() { |
SkTDynamicHash<GrGlyph, GrGlyph::PackedID>::Iter iter(&fCache); |
while (!iter.done()) { |
- (*iter).free(); |
+ (*iter).reset(); |
++iter; |
} |
} |