| Index: webrtc/base/diskcache.cc
|
| diff --git a/webrtc/base/diskcache.cc b/webrtc/base/diskcache.cc
|
| index 4b3ec5feff8cfe7b2514d36698a98836d043e297..0322e28ec8e0fc24b67f947b9a614bf167495e49 100644
|
| --- a/webrtc/base/diskcache.cc
|
| +++ b/webrtc/base/diskcache.cc
|
| @@ -26,7 +26,7 @@
|
| #include "webrtc/base/stringencode.h"
|
| #include "webrtc/base/stringutils.h"
|
|
|
| -#if !defined(NDEBUG)
|
| +#if RTC_DCHECK_IS_ON
|
| #define TRANSPARENT_CACHE_NAMES 1
|
| #else
|
| #define TRANSPARENT_CACHE_NAMES 0
|
| @@ -214,7 +214,7 @@ bool DiskCache::DeleteResource(const std::string& id) {
|
| }
|
|
|
| bool DiskCache::CheckLimit() {
|
| -#if !defined(NDEBUG)
|
| +#if RTC_DCHECK_IS_ON
|
| // Temporary check to make sure everything is working correctly.
|
| size_t cache_size = 0;
|
| for (EntryMap::iterator it = map_.begin(); it != map_.end(); ++it) {
|
|
|