diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-18 16:12:09 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-18 16:12:09 +0000 |
commit | 548a1f321011292359ef163f78c8a1d4871b3b7f (patch) | |
tree | 191732df6a038211427ed81cd0936670e935f971 /include/effects/SkDiscretePathEffect.h | |
parent | 78c0c30987075821547979de55200c32bcaa3e49 (diff) |
change all patheffect methods to const, in preparation for marking its
subclasses as immutable/re-entrant safe.
Review URL: https://codereview.appspot.com/6949071
git-svn-id: http://skia.googlecode.com/svn/trunk@6877 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/effects/SkDiscretePathEffect.h')
-rw-r--r-- | include/effects/SkDiscretePathEffect.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/effects/SkDiscretePathEffect.h b/include/effects/SkDiscretePathEffect.h index 67057485ed..029ebfd35c 100644 --- a/include/effects/SkDiscretePathEffect.h +++ b/include/effects/SkDiscretePathEffect.h @@ -22,7 +22,8 @@ public: */ SkDiscretePathEffect(SkScalar segLength, SkScalar deviation); - virtual bool filterPath(SkPath* dst, const SkPath& src, SkStrokeRec*) SK_OVERRIDE; + virtual bool filterPath(SkPath* dst, const SkPath& src, + SkStrokeRec*) const SK_OVERRIDE; SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkDiscretePathEffect) |