Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: src/gpu/GrGlyph.h

Issue 1268893002: Remove unused field in micro cleanup (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove assert Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrBatchFontCache.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrGlyph.h
diff --git a/src/gpu/GrGlyph.h b/src/gpu/GrGlyph.h
index 8750c763e528999da3f7376aafe99424f2f024f1..6a4166f5ff37ff862b22562d3ced36bc3874cfa9 100644
--- a/src/gpu/GrGlyph.h
+++ b/src/gpu/GrGlyph.h
@@ -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);
« no previous file with comments | « src/gpu/GrBatchFontCache.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698