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

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: rebase 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 0d46a9f7871138845daed5a6cf6c701a9779c5c8..02628ceee65bd26129c9fe5bd5aaf28e99808500 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& font_description,
FontFallbackPriority fallback_priority) {
- ASSERT(fm);
+ DCHECK(fm);
const size_t kMaxLocales = 4;
const char* bcp47_locales[kMaxLocales];
@@ -211,7 +211,7 @@ PassRefPtr<SimpleFontData> FontCache::GetLastResortFallbackFont(
}
#endif
- ASSERT(font_platform_data);
+ DCHECK(font_platform_data);
return FontDataFromFontPlatformData(font_platform_data, should_retain);
}

Powered by Google App Engine
This is Rietveld 408576698