diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-07 15:56:51 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-07 15:56:51 +0000 |
commit | f7af91bd79daf7e090bd6ae1d080ad7a4964e477 (patch) | |
tree | 0be8e8411705ba7bf2d1327a46785d30a4c81c1a /tests/FontNamesTest.cpp | |
parent | 246b1c266f2b0111aa58016829cf17de82614803 (diff) |
Reverting r10608 (Add getFamilyNames to SkTypeface) due to compilation failures
git-svn-id: http://skia.googlecode.com/svn/trunk@10609 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/FontNamesTest.cpp')
-rw-r--r-- | tests/FontNamesTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/FontNamesTest.cpp b/tests/FontNamesTest.cpp index 210a7cf310..ee0a1169f3 100644 --- a/tests/FontNamesTest.cpp +++ b/tests/FontNamesTest.cpp @@ -164,8 +164,7 @@ static void test_systemfonts(skiatest::Reporter* reporter, bool verbose) { printf("[%s]\n", familyName.c_str()); } - SkAutoTUnref<SkTypeface::LocalizedStrings> familyNamesIter( - typeface->createFamilyNameIterator()); + SkAutoTDelete<SkTypeface::LocalizedStrings> familyNamesIter(typeface->getFamilyNames()); SkTypeface::LocalizedString familyNameLocalized; while (familyNamesIter->next(&familyNameLocalized)) { if (verbose) { |