Index: src/gpu/GrTextStrike.cpp |
diff --git a/src/gpu/GrTextStrike.cpp b/src/gpu/GrTextStrike.cpp |
index 4079893b3a0b9cc74475675cc17bc774903d34be..46d7a537ce53890c558d3f4899d40c24f316dda5 100644 |
--- a/src/gpu/GrTextStrike.cpp |
+++ b/src/gpu/GrTextStrike.cpp |
@@ -293,7 +293,7 @@ bool GrTextStrike::addGlyphToAtlas(GrGlyph* glyph, GrFontScaler* scaler) { |
SkASSERT(fCache.contains(glyph)); |
SkASSERT(NULL == glyph->fPlot); |
- SkAutoRef ar(scaler); |
+ SkAutoUnref ar(SkSafeRef(scaler)); |
int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat); |