Constify SkFlattenable::getFactory().
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 18 Oct 2013 19:37:55 +0000 (19:37 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 18 Oct 2013 19:37:55 +0000 (19:37 +0000)
commit575604d4c294bc8679d9889f9e187d4bc057e401
treeb837899388923937afbad390e84b7c0274fa7963
parentcce4e09a5c4730443fcab33e487ff534216e03cb
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/core/SkFlattenable.h
include/core/SkFlattenableBuffers.h
include/effects/SkDashPathEffect.h
src/core/SkFlattenableBuffers.cpp
src/core/SkOrderedWriteBuffer.cpp
src/core/SkOrderedWriteBuffer.h
src/effects/SkColorFilters.cpp
src/effects/SkDashPathEffect.cpp