Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1879)

Unified Diff: Source/platform/graphics/ImageDecodingStore.cpp

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 6 years, 5 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 | « Source/platform/graphics/GraphicsLayerClient.h ('k') | Source/platform/heap/Handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/ImageDecodingStore.cpp
diff --git a/Source/platform/graphics/ImageDecodingStore.cpp b/Source/platform/graphics/ImageDecodingStore.cpp
index 90aef2825043c5966f9dd9b60b751ea6e7c07e8a..0340ba506ee51ca0d1cf99431878a09300885bbb 100644
--- a/Source/platform/graphics/ImageDecodingStore.cpp
+++ b/Source/platform/graphics/ImageDecodingStore.cpp
@@ -51,7 +51,7 @@ ImageDecodingStore::ImageDecodingStore()
ImageDecodingStore::~ImageDecodingStore()
{
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
setCacheLimitInBytes(0);
ASSERT(!m_imageCacheMap.size());
ASSERT(!m_decoderCacheMap.size());
« no previous file with comments | « Source/platform/graphics/GraphicsLayerClient.h ('k') | Source/platform/heap/Handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698