From da90109a9109dd556b2bc2414b0823bf06f29961 Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Tue, 11 Apr 2017 11:32:33 -0400 Subject: Make SkLiteDL::draw() const. Nothing interesting here. Just slapping const all over the place. BUG=skia:6484 Change-Id: I639001754aca6d129c40e9acddc9b2d3730fed0c Reviewed-on: https://skia-review.googlesource.com/13184 Reviewed-by: Herb Derby Commit-Queue: Mike Klein --- src/core/SkLiteDL.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/SkLiteDL.h') 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 - void map(const Fn[], Args...); + void map(const Fn[], Args...) const; SkAutoTMalloc fBytes; size_t fUsed = 0; -- cgit v1.2.3