aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar scroggo <scroggo@google.com>2015-02-23 07:07:25 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-23 07:07:25 -0800
commit953df445aba3e657ab3a3b0da8041ff0a7e72b5f (patch)
tree70441a6d79a8b8b11fede642510fa74ab655454f /include
parent17203020d7296393c55563bd8262133190fe55e2 (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/core/SkImageGenerator.h6
1 files changed, 0 insertions, 6 deletions
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