| Index: tests/FontMgrTest.cpp
|
| ===================================================================
|
| --- tests/FontMgrTest.cpp (revision 8915)
|
| +++ tests/FontMgrTest.cpp (working copy)
|
| @@ -20,7 +20,9 @@
|
| fm->getFamilyName(i, &fname);
|
| REPORTER_ASSERT(reporter, fname.size() > 0);
|
|
|
| + SkAutoTUnref<SkFontStyleSet> fnset(fm->matchFamily(fname.c_str()));
|
| SkAutoTUnref<SkFontStyleSet> set(fm->createStyleSet(i));
|
| + REPORTER_ASSERT(reporter, fnset->count() == set->count());
|
|
|
| if (verbose) {
|
| SkDebugf("[%2d] %s\n", i, fname.c_str());
|
|
|