use default to fix warning (or I will shoot myself)
git-svn-id: http://skia.googlecode.com/svn/trunk@14096 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
43d6d80b49
commit
6719d60485
@ -98,7 +98,8 @@ int SkFont::textToGlyphs(const void* text, size_t byteLength, SkTextEncoding enc
|
||||
case kUTF32_SkTextEncoding:
|
||||
typeface_encoding = SkTypeface::kUTF32_Encoding;
|
||||
break;
|
||||
case kGlyphID_SkTextEncoding:
|
||||
default:
|
||||
SkASSERT(kGlyphID_SkTextEncoding == encoding);
|
||||
// we can early exit, since we already have glyphIDs
|
||||
memcpy(glyphs, text, count << 1);
|
||||
return count;
|
||||
|
Loading…
Reference in New Issue
Block a user