| Index: third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp b/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp
|
| index ce6839e6e44144f7c8d13445d6dc82705f2122b0..f50358616c914d66bd0840a3d67973838dd0827d 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp
|
| @@ -105,7 +105,7 @@ FontCache::FontCache() : m_purgePreventCount(0) {
|
| m_fontManager = sk_ref_sp(s_staticFontManager);
|
| if (!m_fontManager)
|
| m_fontManager = SkFontMgr_New_DirectWrite();
|
| - ASSERT(m_fontManager.get());
|
| + DCHECK(m_fontManager.get());
|
| }
|
|
|
| // Given the desired base font, this will create a SimpleFontData for a specific
|
| @@ -326,7 +326,7 @@ std::unique_ptr<FontPlatformData> FontCache::createFontPlatformData(
|
| const FontFaceCreationParams& creationParams,
|
| float fontSize,
|
| AlternateFontName alternateFontName) {
|
| - ASSERT(creationParams.creationType() == CreateFontByFamily);
|
| + DCHECK_EQ(creationParams.creationType(), CreateFontByFamily);
|
|
|
| CString name;
|
| sk_sp<SkTypeface> tf = createTypeface(fontDescription, creationParams, name);
|
|
|