diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/utils/SkDeferredCanvas.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/utils/SkDeferredCanvas.h b/include/utils/SkDeferredCanvas.h index 5f4e992622..829a72fccc 100644 --- a/include/utils/SkDeferredCanvas.h +++ b/include/utils/SkDeferredCanvas.h @@ -178,8 +178,8 @@ protected: virtual void notifyWritten(size_t bytes) SK_OVERRIDE; void playback(); void reset(); - bool hasRecorded() {return fAllocator.blockCount() != 0;} - size_t storageAllocatedForRecording() {return fAllocator.totalCapacity();} + bool hasRecorded() const { return fAllocator.blockCount() != 0; } + size_t storageAllocatedForRecording() const { return fAllocator.totalCapacity(); } private: enum { kMinBlockSize = 4096 |