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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontCache.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/FontCache.h
diff --git a/third_party/WebKit/Source/platform/fonts/FontCache.h b/third_party/WebKit/Source/platform/fonts/FontCache.h
index 811abf58a44f505476204325e8b9e5e27dab0a21..4d09801ac48ac37e89277a045baafecd22aac399 100644
--- a/third_party/WebKit/Source/platform/fonts/FontCache.h
+++ b/third_party/WebKit/Source/platform/fonts/FontCache.h
@@ -227,7 +227,7 @@ class PLATFORM_EXPORT FontCache {
void disablePurging() { m_purgePreventCount++; }
void enablePurging() {
- ASSERT(m_purgePreventCount);
+ DCHECK(m_purgePreventCount);
if (!--m_purgePreventCount)
purge(PurgeIfNeeded);
}

Powered by Google App Engine
This is Rietveld 408576698