From 575604d4c294bc8679d9889f9e187d4bc057e401 Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Fri, 18 Oct 2013 19:37:55 +0000 Subject: 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 --- include/effects/SkDashPathEffect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/effects') 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&); -- cgit v1.2.3