Remove unused field in micro cleanup

TBR=bsalomon@google.com
BUG=skia:

Review URL: https://codereview.chromium.org/1268893002
This commit is contained in:
joshualitt 2015-07-31 06:37:50 -07:00 committed by Commit bot
parent 15bde1697a
commit 58ff81b42b
2 changed files with 0 additions and 4 deletions

View File

@ -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));

View File

@ -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);