aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/debugger/SkDebugCanvas.h
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-15 22:47:14 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-15 22:47:14 +0000
commit0d4fe14a41bd04535310f8b2edee9e30191fdd79 (patch)
tree71c873b29b9919f84d3c5c44e12a6338291ef220 /src/utils/debugger/SkDebugCanvas.h
parent5ec2b1ee8a8265c0d46092c801407073f46b3451 (diff)
Const-ify SkDebugCanvas::getSize().
This is an obviously const method, no reason not to mark it as such. R=robertphillips@google.com, fmalita@google.com Author: fmalita@chromium.org Review URL: https://chromiumcodereview.appspot.com/19289003 git-svn-id: http://skia.googlecode.com/svn/trunk@10094 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/utils/debugger/SkDebugCanvas.h')
-rw-r--r--src/utils/debugger/SkDebugCanvas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/debugger/SkDebugCanvas.h b/src/utils/debugger/SkDebugCanvas.h
index 99df00e3fb..5fb99aa895 100644
--- a/src/utils/debugger/SkDebugCanvas.h
+++ b/src/utils/debugger/SkDebugCanvas.h
@@ -120,7 +120,7 @@ public:
/**
Returns length of draw command vector.
*/
- int getSize() {
+ int getSize() const {
return fCommandVector.count();
}