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

Unified Diff: third_party/WebKit/Source/platform/fonts/GlyphMetricsMap.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/GlyphMetricsMap.h
diff --git a/third_party/WebKit/Source/platform/fonts/GlyphMetricsMap.h b/third_party/WebKit/Source/platform/fonts/GlyphMetricsMap.h
index 40bb323002204f952d1e8824d709e8fb7e3e40d5..aeb8dde6460ef1e8fa356ca6b33e0abe040b2d80 100644
--- a/third_party/WebKit/Source/platform/fonts/GlyphMetricsMap.h
+++ b/third_party/WebKit/Source/platform/fonts/GlyphMetricsMap.h
@@ -112,7 +112,7 @@ typename GlyphMetricsMap<T>::GlyphMetricsPage*
GlyphMetricsMap<T>::LocatePageSlowCase(unsigned page_number) {
GlyphMetricsPage* page;
if (!page_number) {
- ASSERT(!filled_primary_page_);
+ DCHECK(!filled_primary_page_);
page = &primary_page_;
filled_primary_page_ = true;
} else {

Powered by Google App Engine
This is Rietveld 408576698