| Index: third_party/WebKit/Source/platform/fonts/FontFallbackList.h
|
| diff --git a/third_party/WebKit/Source/platform/fonts/FontFallbackList.h b/third_party/WebKit/Source/platform/fonts/FontFallbackList.h
|
| index 57bb2089b6f4e8bd49c42de994110c6bae756de2..3d9896f0380d6cc13e316f82978e099728642c0e 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/FontFallbackList.h
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontFallbackList.h
|
| @@ -63,7 +63,7 @@ class PLATFORM_EXPORT FontFallbackList : public RefCounted<FontFallbackList> {
|
| FallbackListCompositeKey key = compositeKey(fontDescription);
|
| m_shapeCache = FontCache::fontCache()->getShapeCache(key)->weakPtr();
|
| }
|
| - ASSERT(m_shapeCache);
|
| + DCHECK(m_shapeCache);
|
| if (getFontSelector())
|
| m_shapeCache->clearIfVersionChanged(getFontSelector()->version());
|
| return m_shapeCache.get();
|
| @@ -71,11 +71,11 @@ class PLATFORM_EXPORT FontFallbackList : public RefCounted<FontFallbackList> {
|
|
|
| const SimpleFontData* primarySimpleFontData(
|
| const FontDescription& fontDescription) {
|
| - ASSERT(isMainThread());
|
| + DCHECK(isMainThread());
|
| if (!m_cachedPrimarySimpleFontData) {
|
| m_cachedPrimarySimpleFontData =
|
| determinePrimarySimpleFontData(fontDescription);
|
| - ASSERT(m_cachedPrimarySimpleFontData);
|
| + DCHECK(m_cachedPrimarySimpleFontData);
|
| }
|
| return m_cachedPrimarySimpleFontData;
|
| }
|
|
|