diff options
Diffstat (limited to 'src/core/SkLiteDL.h')
-rw-r--r-- | src/core/SkLiteDL.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkLiteDL.h b/src/core/SkLiteDL.h index f5f7b21983..1f344cd9e7 100644 --- a/src/core/SkLiteDL.h +++ b/src/core/SkLiteDL.h @@ -19,7 +19,7 @@ class SkLiteDL final { public: ~SkLiteDL(); - void draw(SkCanvas* canvas); + void draw(SkCanvas* canvas) const; void reset(); bool empty() const { return fUsed == 0; } @@ -83,7 +83,7 @@ private: void* push(size_t, Args&&...); template <typename Fn, typename... Args> - void map(const Fn[], Args...); + void map(const Fn[], Args...) const; SkAutoTMalloc<uint8_t> fBytes; size_t fUsed = 0; |