| Index: src/core/SkLiteDL.h
|
| diff --git a/src/core/SkLiteDL.h b/src/core/SkLiteDL.h
|
| index a0c168505a60655c25b22484a1222bac444da028..27e3f276456e7fdf7bcdf93b91fe22ad1e09f69b 100644
|
| --- a/src/core/SkLiteDL.h
|
| +++ b/src/core/SkLiteDL.h
|
| @@ -86,10 +86,20 @@ private:
|
| SkRect onGetBounds() override;
|
| void onDraw(SkCanvas*) override;
|
|
|
| - SkLiteDL* fNext;
|
| - int fUsesRemaining;
|
| - SkRect fBounds;
|
| - SkTDArray<uint8_t> fBytes;
|
| + template <typename T, typename... Args>
|
| + void* push(size_t, Args&&...);
|
| +
|
| + template <typename Fn>
|
| + void map(Fn&& fn);
|
| +
|
| + SkAutoTMalloc<uint8_t> fBytes;
|
| + size_t fUsed;
|
| + size_t fReserved;
|
| + SkRect fBounds;
|
| +
|
| + // Only used for freelisting.
|
| + SkLiteDL* fNext;
|
| + int fUsesRemaining;
|
| };
|
|
|
| #endif//SkLiteDL_DEFINED
|
|
|