Remove SkImageGenerator pieces only for SkCodec.
authorscroggo <scroggo@chromium.org>
Thu, 9 Jul 2015 16:08:00 +0000 (09:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 9 Jul 2015 16:08:00 +0000 (09:08 -0700)
commit5315fd4761a3c510dfff834a84e71e4c471951f9
treea0fab94359f53b4c7e9411e06efffd4a801fe6af
parentd17a32966afb2f7fdebfb58d37fa1b2d3e2d474b
Remove SkImageGenerator pieces only for SkCodec.

Follow up to the split between SkImageGenerator and SkCodec. Now that
SkCodec does not inherit from SkImageGenerator, SkImageGenerator no
longer needs Options or Result, which were added for SkCodec. Remove
them, but keep them behind a flag, since Chromium has its own
subclasses of SkImageGenerator which assume the old signature for
onGetPixels.

Review URL: https://codereview.chromium.org/1226023003
include/core/SkImageGenerator.h
src/core/SkImageGenerator.cpp
src/images/SkDecodingImageGenerator.cpp
src/lazy/SkCachingPixelRef.cpp
src/lazy/SkDiscardablePixelRef.cpp
src/ports/SkImageGenerator_skia.cpp
tests/CachedDecodingPixelRefTest.cpp