| Index: Source/core/fetch/MemoryCache.cpp
|
| diff --git a/Source/core/fetch/MemoryCache.cpp b/Source/core/fetch/MemoryCache.cpp
|
| index 253445951e6af43728c5dfd3c395671552165ddd..c06f019c8229b83026f21c3e74bda67f064d1b81 100644
|
| --- a/Source/core/fetch/MemoryCache.cpp
|
| +++ b/Source/core/fetch/MemoryCache.cpp
|
| @@ -345,7 +345,7 @@ MemoryCache::LRUList* MemoryCache::lruListFor(unsigned accessCount, size_t size)
|
|
|
| void MemoryCache::removeFromLRUList(MemoryCacheEntry* entry, LRUList* list)
|
| {
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
| // Verify that we are in fact in this list.
|
| bool found = false;
|
| for (MemoryCacheEntry* current = list->m_head; current; current = current->m_nextInAllResourcesList) {
|
| @@ -385,7 +385,7 @@ void MemoryCache::insertInLRUList(MemoryCacheEntry* entry, LRUList* list)
|
| else
|
| list->m_tail = entry;
|
|
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
| // Verify that we are in now in the list like we should be.
|
| bool found = false;
|
| for (MemoryCacheEntry* current = list->m_head; current; current = current->m_nextInAllResourcesList) {
|
| @@ -407,7 +407,7 @@ void MemoryCache::removeFromLiveDecodedResourcesList(MemoryCacheEntry* entry)
|
|
|
| LRUList* list = &m_liveDecodedResources[entry->m_liveResourcePriority];
|
|
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
| // Verify that we are in fact in this list.
|
| bool found = false;
|
| for (MemoryCacheEntry* current = list->m_head; current; current = current->m_nextInLiveResourcesList) {
|
| @@ -451,7 +451,7 @@ void MemoryCache::insertInLiveDecodedResourcesList(MemoryCacheEntry* entry)
|
| if (!entry->m_nextInLiveResourcesList)
|
| list->m_tail = entry;
|
|
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
| // Verify that we are in now in the list like we should be.
|
| bool found = false;
|
| for (MemoryCacheEntry* current = list->m_head; current; current = current->m_nextInLiveResourcesList) {
|
|
|