aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-14 19:49:53 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-14 19:49:53 +0000
commit3d695d92395ce97e3dff609b9666ef9bc03b66c4 (patch)
tree8a5c0d5a516d5c8048b254d8139a60191bbb42f3 /src
parentc6ce12d7276143bf6c9e8a9c2a3165aeeb54e5f9 (diff)
change #if SK_DEBUG to #ifdef SK_DEBUG
fix broken build change #if DEBUG to #ifdef DEBUG (fixes canary) NOTRY=true R=reed@google.com TBR=reed@google.com Author: caryclark@google.com Review URL: https://codereview.chromium.org/237573002 git-svn-id: http://skia.googlecode.com/svn/trunk@14189 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/pathops/SkPathOpsPoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathops/SkPathOpsPoint.h b/src/pathops/SkPathOpsPoint.h
index 8fd247ee51..336fb62de0 100644
--- a/src/pathops/SkPathOpsPoint.h
+++ b/src/pathops/SkPathOpsPoint.h
@@ -148,7 +148,7 @@ struct SkDPoint {
return AlmostBequalUlps((double) largest, largest + dist); // is dist within ULPS tolerance?
}
-#if SK_DEBUG
+#ifdef SK_DEBUG
static bool RoughlyEqual(const SkPoint& a, const SkPoint& b) {
if (approximately_equal(a.fX, b.fX) && approximately_equal(a.fY, b.fY)) {
return true;