Index: src/core/SkResourceCache.cpp |
diff --git a/src/core/SkResourceCache.cpp b/src/core/SkResourceCache.cpp |
index fa3cb9dbe0bca11e3ab983f6f6a949bcaa2a1d28..bacb8158aa683b628f2054f578eaab3256e40c5a 100644 |
--- a/src/core/SkResourceCache.cpp |
+++ b/src/core/SkResourceCache.cpp |
@@ -549,7 +549,7 @@ static void cleanup_gResourceCache() { |
// Chrome seems to have funky multi-process things going on in unit tests that |
// makes this unsafe to delete when the main process atexit()s. |
// SkLazyPtr does the same sort of thing. |
-#if SK_DEVELOPER |
+#if SK_DEBUG |
dogben
2016/04/28 01:02:31
I think this needs to be #ifdef rather than #if.
|
delete gResourceCache; |
#endif |
} |