Index: src/gpu/GrAtlasTextBlob.h |
diff --git a/src/gpu/GrAtlasTextBlob.h b/src/gpu/GrAtlasTextBlob.h |
index 390f1bbc51a59402c97ca9f0ba53b511c8a61bd1..502177d0d23247f4cc7fe18810d8fe210e7b0506 100644 |
--- a/src/gpu/GrAtlasTextBlob.h |
+++ b/src/gpu/GrAtlasTextBlob.h |
@@ -78,19 +78,6 @@ |
, fGlyphStartIndex(0) |
, fGlyphEndIndex(0) |
, fDrawAsDistanceFields(false) {} |
- SubRunInfo(const SubRunInfo& that) |
- : fBulkUseToken(that.fBulkUseToken) |
- , fStrike(SkRef(that.fStrike.get())) |
- , fAtlasGeneration(that.fAtlasGeneration) |
- , fVertexStartIndex(that.fVertexStartIndex) |
- , fVertexEndIndex(that.fVertexEndIndex) |
- , fGlyphStartIndex(that.fGlyphStartIndex) |
- , fGlyphEndIndex(that.fGlyphEndIndex) |
- , fTextRatio(that.fTextRatio) |
- , fMaskFormat(that.fMaskFormat) |
- , fDrawAsDistanceFields(that.fDrawAsDistanceFields) |
- , fUseLCDText(that.fUseLCDText) { |
- } |
// Distance field text cannot draw coloremoji, and so has to fall back. However, |
// though the distance field text and the coloremoji may share the same run, they |
// will have different descriptors. If fOverrideDescriptor is non-NULL, then it |
@@ -99,7 +86,6 @@ |
// significantly, and then the subrun could just have a refed pointer to the |
// correct descriptor. |
GrBatchAtlas::BulkUseTokenUpdater fBulkUseToken; |
- SkAutoTUnref<GrBatchTextStrike> fStrike; |
uint64_t fAtlasGeneration; |
size_t fVertexStartIndex; |
size_t fVertexEndIndex; |
@@ -124,6 +110,7 @@ |
return newSubRun; |
} |
static const int kMinSubRuns = 1; |
+ SkAutoTUnref<GrBatchTextStrike> fStrike; |
SkAutoTUnref<SkTypeface> fTypeface; |
SkRect fVertexBounds; |
SkSTArray<kMinSubRuns, SubRunInfo> fSubRunInfo; |