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

Unified Diff: include/core/SkPostConfig.h

Issue 131103009: update pathops to circle sort (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: disable old test that still fails on linux 32 release Created 6 years, 8 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 | « gyp/pathops_unittest.gyp ('k') | src/pathops/SkAddIntersections.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPostConfig.h
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h
index 8f62a7098771d2ca26234dde008cdaa5b0337898..58a13a0eec349b7d0b46eab5f773718a621bd0e4 100644
--- a/include/core/SkPostConfig.h
+++ b/include/core/SkPostConfig.h
@@ -166,12 +166,14 @@
# endif
#
#else
-# ifdef SK_DEBUG
-# include <stdio.h>
-# ifndef SK_DEBUGBREAK
+# ifndef SK_DEBUGBREAK
+# ifdef SK_DEBUG
+# include <stdio.h>
# define SK_DEBUGBREAK(cond) do { if (cond) break; \
SkDebugf("%s:%d: failed assertion \"%s\"\n", \
__FILE__, __LINE__, #cond); SK_CRASH(); } while (false)
+# else
+# define SK_DEBUGBREAK(cond) do { if (cond) break; SK_CRASH(); } while (false)
# endif
# endif
#endif
« no previous file with comments | « gyp/pathops_unittest.gyp ('k') | src/pathops/SkAddIntersections.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698