Index: src/core/SkResourceCache.cpp |
diff --git a/src/core/SkResourceCache.cpp b/src/core/SkResourceCache.cpp |
index bacb8158aa683b628f2054f578eaab3256e40c5a..fa3cb9dbe0bca11e3ab983f6f6a949bcaa2a1d28 100644 |
--- a/src/core/SkResourceCache.cpp |
+++ b/src/core/SkResourceCache.cpp |
@@ -549,7 +549,7 @@ |
// 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_DEBUG |
+#if SK_DEVELOPER |
delete gResourceCache; |
#endif |
} |