aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkLiteDL.h
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-04-11 11:32:33 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-11 16:09:39 +0000
commitda90109a9109dd556b2bc2414b0823bf06f29961 (patch)
tree10c7d2eaeafff73b8b954d7045e766d6dd08d753 /src/core/SkLiteDL.h
parentcd25df9c560f51b39c993902d1bafe895c1ef217 (diff)
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 <herb@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/core/SkLiteDL.h')
-rw-r--r--src/core/SkLiteDL.h4
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;