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

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: 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/Font.h
diff --git a/third_party/WebKit/Source/platform/fonts/Font.h b/third_party/WebKit/Source/platform/fonts/Font.h
index 20642c201917a59857acf8ab3e0c88c5db1b1343..994bb97a993d6d9114c6f5978aca5293c9ec122e 100644
--- a/third_party/WebKit/Source/platform/fonts/Font.h
+++ b/third_party/WebKit/Source/platform/fonts/Font.h
@@ -202,12 +202,12 @@ class PLATFORM_EXPORT Font {
inline Font::~Font() {}
inline const SimpleFontData* Font::primaryFont() const {
- ASSERT(m_fontFallbackList);
+ DCHECK(m_fontFallbackList);
return m_fontFallbackList->primarySimpleFontData(m_fontDescription);
}
inline const FontData* Font::fontDataAt(unsigned index) const {
- ASSERT(m_fontFallbackList);
+ DCHECK(m_fontFallbackList);
return m_fontFallbackList->fontDataAt(m_fontDescription, index);
}

Powered by Google App Engine
This is Rietveld 408576698