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

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

Issue 2458003002: Remove ASSERT_WITH_SECURITY_IMPLICATION. (Closed)
Patch Set: Minor formatting fix Created 4 years, 2 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 c307ce96fb3db0eaceb7ad5eb999a512bbc4f104..6f755da76256096c92639ef48ecaca3463792b60 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageDecodingStore.cpp
@@ -82,7 +82,7 @@ void ImageDecodingStore::unlockDecoder(const ImageFrameGenerator* generator,
MutexLocker lock(m_mutex);
DecoderCacheMap::iterator iter = m_decoderCacheMap.find(
DecoderCacheEntry::makeCacheKey(generator, decoder));
- ASSERT_WITH_SECURITY_IMPLICATION(iter != m_decoderCacheMap.end());
+ SECURITY_DCHECK(iter != m_decoderCacheMap.end());
CacheEntry* cacheEntry = iter->value.get();
cacheEntry->decrementUseCount();
@@ -113,7 +113,7 @@ void ImageDecodingStore::removeDecoder(const ImageFrameGenerator* generator,
MutexLocker lock(m_mutex);
DecoderCacheMap::iterator iter = m_decoderCacheMap.find(
DecoderCacheEntry::makeCacheKey(generator, decoder));
- ASSERT_WITH_SECURITY_IMPLICATION(iter != m_decoderCacheMap.end());
+ SECURITY_DCHECK(iter != m_decoderCacheMap.end());
CacheEntry* cacheEntry = iter->value.get();
ASSERT(cacheEntry->useCount());

Powered by Google App Engine
This is Rietveld 408576698