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

Unified Diff: third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm

Issue 2394683005: Remove ASSERT_UNUSED (Closed)
Patch Set: Created 4 years, 2 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/mac/FontCacheMac.mm
diff --git a/third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm b/third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm
index 015ba6973f2c5692b5235a1e1704f43ee82ca3b9..5956c7a737beead71d6df78f75f6246d807c35e4 100644
--- a/third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm
+++ b/third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm
@@ -76,9 +76,8 @@ static void fontCacheRegisteredFontsChangedNotificationCallback(
CFStringRef name,
const void*,
CFDictionaryRef) {
- ASSERT_UNUSED(observer, observer == FontCache::fontCache());
- ASSERT_UNUSED(
- name, CFEqual(name, kCTFontManagerRegisteredFontsChangedNotification));
+ DCHECK_EQ(observer, FontCache::fontCache());
+ DCHECK(CFEqual(name, kCTFontManagerRegisteredFontsChangedNotification));
invalidateFontCache();
}

Powered by Google App Engine
This is Rietveld 408576698