aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkResourceCache.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-04-27 18:46:46 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-27 18:46:46 -0700
commitb8498825b54718cdd90c30c39323cfc433695f23 (patch)
tree7f4115d1889f58a4924eabd6f356d172b33ac795 /src/core/SkResourceCache.cpp
parent1541130b661c0851267782e2ab56dfee481f44c6 (diff)
BUG=skia:
Diffstat (limited to 'src/core/SkResourceCache.cpp')
-rw-r--r--src/core/SkResourceCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkResourceCache.cpp b/src/core/SkResourceCache.cpp
index bacb8158aa..6e3ad83000 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_DEBUG
+#ifdef SK_DEBUG
delete gResourceCache;
#endif
}