| Index: third_party/WebKit/Source/platform/fonts/FontDataCache.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/FontDataCache.cpp b/third_party/WebKit/Source/platform/fonts/FontDataCache.cpp
|
| index 06f615c70b7a03034c84925e1c6af6f97b2ed4c4..21a22b66cb7530b813e7a9944f7aed410d4f5aeb 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/FontDataCache.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontDataCache.cpp
|
| @@ -77,7 +77,7 @@ PassRefPtr<SimpleFontData> FontDataCache::get(
|
| }
|
|
|
| if (!result.get()->value.second) {
|
| - ASSERT(m_inactiveFontData.contains(result.get()->value.first));
|
| + DCHECK(m_inactiveFontData.contains(result.get()->value.first));
|
| m_inactiveFontData.erase(result.get()->value.first);
|
| }
|
|
|
| @@ -98,14 +98,14 @@ bool FontDataCache::contains(const FontPlatformData* fontPlatformData) const {
|
| }
|
|
|
| void FontDataCache::release(const SimpleFontData* fontData) {
|
| - ASSERT(!fontData->isCustomFont());
|
| + DCHECK(!fontData->isCustomFont());
|
|
|
| Cache::iterator it = m_cache.find(&(fontData->platformData()));
|
| - ASSERT(it != m_cache.end());
|
| + DCHECK_NE(it, m_cache.end());
|
| if (it == m_cache.end())
|
| return;
|
|
|
| - ASSERT(it->value.second);
|
| + DCHECK(it->value.second);
|
| if (!--it->value.second)
|
| m_inactiveFontData.insert(it->value.first);
|
| }
|
|
|