Index: skia/config/SkUserConfig.h |
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h |
index c45b8533ba184a50bf6a71736d4b62fac4b5d695..78dd44596c024cd580076c908231128d29733f2c 100644 |
--- a/skia/config/SkUserConfig.h |
+++ b/skia/config/SkUserConfig.h |
@@ -257,8 +257,8 @@ |
#define SK_SUPPORT_LEGACY_GETDEVICE |
#endif |
-#ifdef SK_SUPPORT_LEGACY_ALLOCPIXELS_BOOL |
- #undef SK_SUPPORT_LEGACY_ALLOCPIXELS_BOOL |
+#ifndef SK_SUPPORT_LEGACY_ALLOCPIXELS_BOOL |
+ #define SK_SUPPORT_LEGACY_ALLOCPIXELS_BOOL |
#endif |
// Turns SkPicture::clone() into a simple "return SkRef(this);" as a way to |