aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkMaskFilter.h
diff options
context:
space:
mode:
authorGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-10-04 15:11:38 +0000
committerGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-10-04 15:11:38 +0000
commit18ac1ba3d1f00858359912205d0c294033d9157c (patch)
tree083a32dcc7880a44eeae6945332068d6c2441daa /include/core/SkMaskFilter.h
parent5eba98c4d1d7fca8d0e7444e663dff27f57fb431 (diff)
Make asBlur method const.
http://codereview.appspot.com/5190041/ This change makes asBlur const consistent with SkShader::asAGradient and asABitmap. git-svn-id: http://skia.googlecode.com/svn/trunk@2404 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkMaskFilter.h')
-rw-r--r--include/core/SkMaskFilter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkMaskFilter.h b/include/core/SkMaskFilter.h
index c4ee62083b..b32f4d3926 100644
--- a/include/core/SkMaskFilter.h
+++ b/include/core/SkMaskFilter.h
@@ -85,7 +85,7 @@ public:
* (if not null). If they cannot be described as a blur, they return
* kNone_BlurType and ignore the info parameter.
*/
- virtual BlurType asABlur(BlurInfo*);
+ virtual BlurType asABlur(BlurInfo*) const;
protected:
// empty for now, but lets get our subclass to remember to init us for the future