Index: include/core/SkCanvas.h |
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h |
index 0d8fd463fe2f5648a31f0d4b9f27fefef9e6dbf5..f5d4fe63cf49e307c44bb42b72293383df48cd5a 100644 |
--- a/include/core/SkCanvas.h |
+++ b/include/core/SkCanvas.h |
@@ -19,12 +19,6 @@ |
#include "SkXfermode.h" |
//#define SK_SUPPORT_LEGACY_READPIXELSCONFIG |
- |
-#ifdef SK_SUPPORT_LEGACY_READPIXELSCONFIG |
- #ifndef SK_SUPPORT_LEGACY_CONFIG8888 |
- #define SK_SUPPORT_LEGACY_CONFIG8888 |
- #endif |
-#endif |
// if not defined, we always assume ClipToLayer for saveLayer() |
//#define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG |
@@ -237,7 +231,6 @@ |
*/ |
const void* peekPixels(SkImageInfo* info, size_t* rowBytes); |
-#ifdef SK_SUPPORT_LEGACY_CONFIG8888 |
/** |
* This enum can be used with read/writePixels to perform a pixel ops to or |
* from an 8888 config other than Skia's native config (SkPMColor). There |
@@ -272,7 +265,6 @@ |
kRGBA_Premul_Config8888, |
kRGBA_Unpremul_Config8888 |
}; |
-#endif |
#ifdef SK_SUPPORT_LEGACY_READPIXELSCONFIG |
/** |