| Index: src/core/SkLiteDL.h
|
| diff --git a/src/core/SkLiteDL.h b/src/core/SkLiteDL.h
|
| index 27e3479e0378e7eeb71045cf1917a3b2f7cec7c3..7a15eb551b747848e5c4999dd8e01bd8c20f4bf2 100644
|
| --- a/src/core/SkLiteDL.h
|
| +++ b/src/core/SkLiteDL.h
|
| @@ -20,8 +20,7 @@ class GrContext;
|
| class SkLiteDL final : public SkDrawable {
|
| public:
|
| static sk_sp<SkLiteDL> New(SkRect);
|
| -
|
| - static void PurgeFreelist();
|
| + void reset(SkRect);
|
|
|
| void optimizeFor(GrContext*);
|
| void makeThreadsafe();
|
| @@ -79,11 +78,9 @@ public:
|
| SkXfermode::Mode, const SkRect*, const SkPaint*);
|
|
|
| private:
|
| - SkLiteDL();
|
| + SkLiteDL(SkRect);
|
| ~SkLiteDL();
|
|
|
| - void internal_dispose() const override;
|
| -
|
| SkRect onGetBounds() override;
|
| void onDraw(SkCanvas*) override;
|
|
|
| @@ -97,10 +94,6 @@ private:
|
| size_t fUsed;
|
| size_t fReserved;
|
| SkRect fBounds;
|
| -
|
| - // Only used for freelisting.
|
| - SkLiteDL* fNext;
|
| - int fUsesRemaining;
|
| };
|
|
|
| #endif//SkLiteDL_DEFINED
|
|
|