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

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

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: m_domTreeVersion initialization Created 3 years, 11 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
Index: third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp b/third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp
index 17a2e110aeafc5c97cfdee3001bcfa9850a59b56..61aa4354ed98265a1603ca24719019a18de3d0d9 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp
@@ -43,7 +43,7 @@ ImageDecodingStore::ImageDecodingStore()
m_heapMemoryUsageInBytes(0) {}
ImageDecodingStore::~ImageDecodingStore() {
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
setCacheLimitInBytes(0);
ASSERT(!m_decoderCacheMap.size());
ASSERT(!m_orderedCacheList.size());
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/GraphicsLayerClient.h ('k') | third_party/WebKit/Source/platform/graphics/Path.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698