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