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

Unified Diff: skia/config/SkUserConfig.h

Issue 545513002: 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
Index: skia/config/SkUserConfig.h
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h
index cc836558f462c5072bd651f8b3743033f9154c9d..99529ae6ded694c263f2433124c54b84ce309beb 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -261,8 +261,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
// ===== End Chrome-specific definitions =====

Powered by Google App Engine
This is Rietveld 408576698