Index: tests/FontNamesTest.cpp |
=================================================================== |
--- tests/FontNamesTest.cpp (revision 10613) |
+++ tests/FontNamesTest.cpp (working copy) |
@@ -164,7 +164,8 @@ |
printf("[%s]\n", familyName.c_str()); |
} |
- SkAutoTDelete<SkTypeface::LocalizedStrings> familyNamesIter(typeface->getFamilyNames()); |
+ SkAutoTUnref<SkTypeface::LocalizedStrings> familyNamesIter( |
+ typeface->createFamilyNameIterator()); |
SkTypeface::LocalizedString familyNameLocalized; |
while (familyNamesIter->next(&familyNameLocalized)) { |
if (verbose) { |