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

Unified Diff: third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp

Issue 2807913002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/fonts (Closed)
Patch Set: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/fonts Created 3 years, 8 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/fonts/skia/FontCacheSkia.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp b/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp
index 8626e94ff41ba6a12da87e8bf7dec97684edd7ec..757bd9f91b308c83c8f6a41872ff1547dc43142f 100644
--- a/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp
+++ b/third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp
@@ -84,7 +84,7 @@ AtomicString FontCache::getFamilyNameForCharacter(
UChar32 c,
const FontDescription& fontDescription,
FontFallbackPriority fallbackPriority) {
- ASSERT(fm);
+ DCHECK(fm);
const size_t kMaxLocales = 4;
const char* bcp47Locales[kMaxLocales];
@@ -202,7 +202,7 @@ PassRefPtr<SimpleFontData> FontCache::getLastResortFallbackFont(
}
#endif
- ASSERT(fontPlatformData);
+ DCHECK(fontPlatformData);
return fontDataFromFontPlatformData(fontPlatformData, shouldRetain);
}

Powered by Google App Engine
This is Rietveld 408576698