Remove unused field in micro cleanup
TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1268893002
This commit is contained in:
parent
15bde1697a
commit
58ff81b42b
@ -201,7 +201,6 @@ bool GrBatchTextStrike::addGlyphToAtlas(GrBatchTarget* batchTarget, GrGlyph* gly
|
||||
SkASSERT(glyph);
|
||||
SkASSERT(scaler);
|
||||
SkASSERT(fCache.find(glyph->fPackedID));
|
||||
SkASSERT(NULL == glyph->fPlot);
|
||||
|
||||
SkAutoUnref ar(SkSafeRef(scaler));
|
||||
|
||||
|
@ -31,9 +31,7 @@ struct GrGlyph {
|
||||
|
||||
typedef uint32_t PackedID;
|
||||
|
||||
// TODO either plot or AtlasID will be valid, not both
|
||||
GrBatchAtlas::AtlasID fID;
|
||||
GrPlot* fPlot;
|
||||
SkPath* fPath;
|
||||
PackedID fPackedID;
|
||||
GrMaskFormat fMaskFormat;
|
||||
@ -43,7 +41,6 @@ struct GrGlyph {
|
||||
|
||||
void init(GrGlyph::PackedID packed, const SkIRect& bounds, GrMaskFormat format) {
|
||||
fID = GrBatchAtlas::kInvalidAtlasID;
|
||||
fPlot = NULL;
|
||||
fPath = NULL;
|
||||
fPackedID = packed;
|
||||
fBounds.set(bounds);
|
||||
|
Loading…
Reference in New Issue
Block a user