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

Unified Diff: third_party/WebKit/Source/platform/fonts/Font.h

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/Font.h
diff --git a/third_party/WebKit/Source/platform/fonts/Font.h b/third_party/WebKit/Source/platform/fonts/Font.h
index dcb2cc2a06053e7a005fcd693588394fec541717..081e62ce8bf56fa4d67304172b0fbf7d036395bb 100644
--- a/third_party/WebKit/Source/platform/fonts/Font.h
+++ b/third_party/WebKit/Source/platform/fonts/Font.h
@@ -205,12 +205,12 @@ class PLATFORM_EXPORT Font {
inline Font::~Font() {}
inline const SimpleFontData* Font::PrimaryFont() const {
- ASSERT(font_fallback_list_);
+ DCHECK(font_fallback_list_);
return font_fallback_list_->PrimarySimpleFontData(font_description_);
}
inline const FontData* Font::FontDataAt(unsigned index) const {
- ASSERT(font_fallback_list_);
+ DCHECK(font_fallback_list_);
return font_fallback_list_->FontDataAt(font_description_, index);
}
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/CharacterRange.h ('k') | third_party/WebKit/Source/platform/fonts/Font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698