diff options
-rw-r--r-- | gyp/skia_for_chromium_defines.gypi | 1 | ||||
-rw-r--r-- | include/core/SkImageGenerator.h | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/gyp/skia_for_chromium_defines.gypi b/gyp/skia_for_chromium_defines.gypi index 6d10ac2343..bcc6096a1d 100644 --- a/gyp/skia_for_chromium_defines.gypi +++ b/gyp/skia_for_chromium_defines.gypi @@ -14,7 +14,6 @@ # 'skia_for_chromium_defines': [ 'SK_LEGACY_DRAWPICTURECALLBACK', - 'SK_SUPPORT_LEGACY_GET_PIXELS_ENUM', ], }, } diff --git a/include/core/SkImageGenerator.h b/include/core/SkImageGenerator.h index 4e89d7653e..5de9d3d85a 100644 --- a/include/core/SkImageGenerator.h +++ b/include/core/SkImageGenerator.h @@ -15,12 +15,6 @@ class SkBitmap; class SkData; class SkImageGenerator; -//#define SK_SUPPORT_LEGACY_GET_PIXELS_ENUM - -#ifdef SK_SUPPORT_LEGACY_GET_PIXELS_ENUM - #define onGetPixelsEnum onGetPixels -#endif - /** * Takes ownership of SkImageGenerator. If this method fails for * whatever reason, it will return false and immediatetely delete |