summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtklein <mtklein@chromium.org>2015-02-27 16:14:43 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-28 00:15:28 +0000
commit879405ae813ae4a9bcbd7684d3551420d4980383 (patch)
tree2cef10207bf04e3ea37fec9cd3c5b2950c521d2a
parenta4c7ab8af2530c04fb32939585d3b021aa7d9363 (diff)
downloadchromium_src-879405ae813ae4a9bcbd7684d3551420d4980383.zip
chromium_src-879405ae813ae4a9bcbd7684d3551420d4980383.tar.gz
chromium_src-879405ae813ae4a9bcbd7684d3551420d4980383.tar.bz2
SK_DEBUG when DCHECK_ALWAYS_ON
BUG= Review URL: https://codereview.chromium.org/966593002 Cr-Commit-Position: refs/heads/master@{#318557}
-rw-r--r--skia/config/SkUserConfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h
index 37ca466..d9b6297 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -79,6 +79,10 @@
//#define SK_DEBUG
//#define SK_RELEASE
+#ifdef DCHECK_ALWAYS_ON
+ #undef SK_RELEASE
+ #define SK_DEBUG
+#endif
/* If, in debugging mode, Skia needs to stop (presumably to invoke a debugger)
it will call SK_CRASH(). If this is not defined it, it is defined in