diff options
Diffstat (limited to 'src/gpu/batches/GrAtlasTextBatch.h')
-rw-r--r-- | src/gpu/batches/GrAtlasTextBatch.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gpu/batches/GrAtlasTextBatch.h b/src/gpu/batches/GrAtlasTextBatch.h index 32771832aa..b3b88dfc23 100644 --- a/src/gpu/batches/GrAtlasTextBatch.h +++ b/src/gpu/batches/GrAtlasTextBatch.h @@ -104,11 +104,11 @@ private: void initBatchTracker(const GrXPOverridesForBatch& overrides) override; struct FlushInfo { - SkAutoTUnref<const GrBuffer> fVertexBuffer; - SkAutoTUnref<const GrBuffer> fIndexBuffer; - sk_sp<GrGeometryProcessor> fGeometryProcessor; - int fGlyphsToFlush; - int fVertexOffset; + sk_sp<const GrBuffer> fVertexBuffer; + sk_sp<const GrBuffer> fIndexBuffer; + sk_sp<GrGeometryProcessor> fGeometryProcessor; + int fGlyphsToFlush; + int fVertexOffset; }; void onPrepareDraws(Target* target) const override; @@ -185,7 +185,7 @@ private: GrBatchFontCache* fFontCache; // Distance field properties - SkAutoTUnref<const GrDistanceFieldAdjustTable> fDistanceAdjustTable; + sk_sp<const GrDistanceFieldAdjustTable> fDistanceAdjustTable; SkColor fFilteredColor; bool fUseGammaCorrectDistanceTable; |