Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: skia/config/SkUserConfig.h

Issue 556463002: Revert of tryAllocPixels returns bool, allocPixels requires success (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/filters/skcanvas_video_renderer_unittest.cc ('k') | skia/ext/bitmap_platform_device_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « media/filters/skcanvas_video_renderer_unittest.cc ('k') | skia/ext/bitmap_platform_device_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698