Index: src/core/SkImageGenerator.cpp |
diff --git a/src/core/SkImageGenerator.cpp b/src/core/SkImageGenerator.cpp |
index c062978f0f8dd0ca6f53b7a2865ee1248e40227d..0f63db50f637e82633caf9bd6f611979c941ffcb 100644 |
--- a/src/core/SkImageGenerator.cpp |
+++ b/src/core/SkImageGenerator.cpp |
@@ -7,7 +7,6 @@ |
#include "SkImageGenerator.h" |
-#ifndef SK_SUPPORT_LEGACY_IMAGEGENERATORAPI |
bool SkImageGenerator::getInfo(SkImageInfo* info) { |
SkImageInfo dummy; |
if (NULL == info) { |
@@ -55,7 +54,6 @@ bool SkImageGenerator::getPixels(const SkImageInfo& info, void* pixels, size_t r |
} |
return this->getPixels(info, pixels, rowBytes, NULL, NULL); |
} |
-#endif |
bool SkImageGenerator::getYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], |
SkYUVColorSpace* colorSpace) { |