diff options
author | 2013-10-18 19:37:55 +0000 | |
---|---|---|
committer | 2013-10-18 19:37:55 +0000 | |
commit | 575604d4c294bc8679d9889f9e187d4bc057e401 (patch) | |
tree | b837899388923937afbad390e84b7c0274fa7963 /include/effects | |
parent | cce4e09a5c4730443fcab33e487ff534216e03cb (diff) |
Constify SkFlattenable::getFactory().
This allows us to also constify the argument of
SkFlattenableWriteBuffer::writeFlattenable() - which I've recently found
myself const-casting for no apparent good reason.
R=bungeman@google.com, mtklein@google.com, reed@google.com
Author: fmalita@chromium.org
Review URL: https://codereview.chromium.org/29143005
git-svn-id: http://skia.googlecode.com/svn/trunk@11862 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/effects')
-rw-r--r-- | include/effects/SkDashPathEffect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/effects/SkDashPathEffect.h b/include/effects/SkDashPathEffect.h index 9c0775dfba..4e83f45cb6 100644 --- a/include/effects/SkDashPathEffect.h +++ b/include/effects/SkDashPathEffect.h @@ -47,7 +47,7 @@ public: const SkStrokeRec&, const SkMatrix&, const SkRect*) const SK_OVERRIDE; - virtual Factory getFactory() SK_OVERRIDE; + virtual Factory getFactory() const SK_OVERRIDE; static SkFlattenable* CreateProc(SkFlattenableReadBuffer&); |