Remove SK_SUPPORT_LEGACY_GET_PIXELS_ENUM.

SK_SUPPORT_LEGACY_GET_PIXELS_ENUM just set a \#define to convert
onGetPixelsEnum
to
onGetPixels

Now that Chrome has been updated to override onGetPixels, there is no
need for the define.

BUG=skia:3257

Review URL: https://codereview.chromium.org/933853004
This commit is contained in:
scroggo 2015-02-23 07:07:25 -08:00 committed by Commit bot
parent 17203020d7
commit 953df445ab
2 changed files with 0 additions and 7 deletions

View File

@ -14,7 +14,6 @@
#
'skia_for_chromium_defines': [
'SK_LEGACY_DRAWPICTURECALLBACK',
'SK_SUPPORT_LEGACY_GET_PIXELS_ENUM',
],
},
}

View File

@ -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