From ffd7907ba397e6c49f3cf8a2d4c2a451fbc0cbd6 Mon Sep 17 00:00:00 2001 From: "bungeman@google.com" Date: Wed, 28 Nov 2012 22:13:32 +0000 Subject: [PATCH] Remove what turns out to be a bogus assert. Any problems with size are already handled by checking the return value of CFNumberGetValue. git-svn-id: http://skia.googlecode.com/svn/trunk@6592 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/ports/SkFontHost_mac_coretext.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ports/SkFontHost_mac_coretext.cpp b/src/ports/SkFontHost_mac_coretext.cpp index db8f8b0..c0fb97a 100644 --- a/src/ports/SkFontHost_mac_coretext.cpp +++ b/src/ports/SkFontHost_mac_coretext.cpp @@ -1671,7 +1671,6 @@ static SK_SFNT_ULONG get_font_type_tag(SkFontID uniqueID) { return 0; } - SkASSERT(kCFNumberSInt32Type == CFNumberGetType(fontFormatRef)); SInt32 fontFormatValue; if (!CFNumberGetValue(fontFormatRef, kCFNumberSInt32Type, &fontFormatValue)) { CFRelease(fontFormatRef); -- 2.7.4