aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/utils/SkDeferredCanvas.h
diff options
context:
space:
mode:
authorGravatar junov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-23 14:17:45 +0000
committerGravatar junov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-23 14:17:45 +0000
commit8317e174483903dd3fba41d8e0074112badb1cfd (patch)
tree1a55b197b1aa2e729d7970dffebfe974a58e03e5 /include/utils/SkDeferredCanvas.h
parent61fea88711c0cc4bb9659001c464c6f5a503687b (diff)
Response to post-commit review comments on r4714
Correcting formatting and adding const in SkDeferredCanvas.h Unreviewed git-svn-id: http://skia.googlecode.com/svn/trunk@4718 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/utils/SkDeferredCanvas.h')
-rw-r--r--include/utils/SkDeferredCanvas.h4
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