aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/images
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-05-05 11:36:02 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-05 11:36:02 -0700
commitd1290843c364dda7691817f3bb52aadee8391acf (patch)
treeaefa6a3008831ad99c0c141dcc87db7d95624fdc /src/images
parent002653e78c1eef4430abe457f6f91add24a69093 (diff)
remove dead code behind BOOL_ONGETINFO
need this to land in chrome first https://codereview.chromium.org/1125573002 BUG=skia: TBR= Review URL: https://codereview.chromium.org/1123473004
Diffstat (limited to 'src/images')
-rw-r--r--src/images/SkDecodingImageGenerator.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/images/SkDecodingImageGenerator.cpp b/src/images/SkDecodingImageGenerator.cpp
index 78027f42e2..2a07308447 100644
--- a/src/images/SkDecodingImageGenerator.cpp
+++ b/src/images/SkDecodingImageGenerator.cpp
@@ -38,12 +38,6 @@ public:
protected:
SkData* onRefEncodedData() override;
-#ifdef SK_SUPPORT_LEGACY_BOOL_ONGETINFO
- bool onGetInfo(SkImageInfo* info) override {
- *info = fInfo;
- return true;
- }
-#endif
Result onGetPixels(const SkImageInfo& info,
void* pixels, size_t rowBytes, const Options&,
SkPMColor ctable[], int* ctableCount) override;