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:
parent
17203020d7
commit
953df445ab
@ -14,7 +14,6 @@
|
||||
#
|
||||
'skia_for_chromium_defines': [
|
||||
'SK_LEGACY_DRAWPICTURECALLBACK',
|
||||
'SK_SUPPORT_LEGACY_GET_PIXELS_ENUM',
|
||||
],
|
||||
},
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user