Remove unneeded reference count churn.
An object was ref'ed only to be automatically unref'ed. Review-Url: https://codereview.chromium.org/1979193009
This commit is contained in:
parent
d2c7ef9495
commit
94b25b0a80
@ -210,8 +210,6 @@ bool GrBatchTextStrike::addGlyphToAtlas(GrDrawBatch::Target* target,
|
||||
SkASSERT(scaler);
|
||||
SkASSERT(fCache.find(glyph->fPackedID));
|
||||
|
||||
SkAutoUnref ar(SkSafeRef(scaler));
|
||||
|
||||
int bytesPerPixel = GrMaskFormatBytesPerPixel(expectedMaskFormat);
|
||||
|
||||
size_t size = glyph->fBounds.area() * bytesPerPixel;
|
||||
|
Loading…
Reference in New Issue
Block a user