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

Unified Diff: experimental/Intersection/DataTypes.cpp

Issue 481513004: Define NDEBUG instead of SK_DEBUG/SK_RELEASE. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 4 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 | « experimental/Intersection/DataTypes.h ('k') | experimental/Intersection/Intersections.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/Intersection/DataTypes.cpp
diff --git a/experimental/Intersection/DataTypes.cpp b/experimental/Intersection/DataTypes.cpp
index a4a3039cd57044e002a82fe9b72bd4e9103ef513..3425ea95769b51681bef907c93dc0071d4230d62 100644
--- a/experimental/Intersection/DataTypes.cpp
+++ b/experimental/Intersection/DataTypes.cpp
@@ -38,7 +38,7 @@ union Float_t
#endif
int32_t i;
float f;
-#if SK_DEBUG
+#ifdef SK_DEBUG
struct
{ // Bitfields for exploration. Do not use in production code.
uint32_t mantissa : 23;
@@ -76,7 +76,7 @@ int UlpsDiff(float A, float B)
}
#endif
-#if SK_DEBUG
+#ifdef SK_DEBUG
void mathematica_ize(char* str, size_t bufferLen) {
size_t len = strlen(str);
bool num = false;
« no previous file with comments | « experimental/Intersection/DataTypes.h ('k') | experimental/Intersection/Intersections.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698