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 40973002: Enable reference adoption checks for Blink+skia in Debug builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Just the Chromium changes for sanity. Created 7 years, 2 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 | « no previous file | skia/config/sk_ref_cnt_ext_debug.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/config/SkUserConfig.h
===================================================================
--- skia/config/SkUserConfig.h (revision 230714)
+++ skia/config/SkUserConfig.h (working copy)
@@ -152,6 +152,12 @@
// ===== Begin Chrome-specific definitions =====
+#ifdef SK_DEBUG
+#define SK_REF_CNT_MIXIN_INCLUDE "sk_ref_cnt_ext_debug.h"
+#else
+#define SK_REF_CNT_MIXIN_INCLUDE "sk_ref_cnt_ext_release.h"
+#endif
+
#define SK_SCALAR_IS_FLOAT
#undef SK_SCALAR_IS_FIXED
« no previous file with comments | « no previous file | skia/config/sk_ref_cnt_ext_debug.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698