Searched refs:newFont (Results 1 – 2 of 2) sorted by relevance
42 SkAutoTUnref<SkFont> newFont(font->cloneWithSize(36)); in test_font() local43 REPORTER_ASSERT(reporter, newFont.get()); in test_font()44 REPORTER_ASSERT(reporter, font->getTypeface() == newFont->getTypeface()); in test_font()45 REPORTER_ASSERT(reporter, 36 == newFont->getSize()); // double check we haven't changed in test_font()
2198 SkAutoTUnref<SkPDFFont> newFont( in getFontResourceIndex() local2200 int resourceIndex = fFontResources.find(newFont.get()); in getFontResourceIndex()2203 fFontResources.push(newFont.get()); in getFontResourceIndex()2204 newFont.get()->ref(); in getFontResourceIndex()