diff options
Diffstat (limited to 'tests/FontTestUtils.h')
-rw-r--r-- | tests/FontTestUtils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/FontTestUtils.h b/tests/FontTestUtils.h index 7c62c46..5258a76 100644 --- a/tests/FontTestUtils.h +++ b/tests/FontTestUtils.h @@ -24,8 +24,9 @@ * * This function reads /system/etc/fonts.xml and make font families and * collections of them. MinikinFontForTest is used for FontFamily creation. + * + * Caller must unref the returned pointer. */ -std::unique_ptr<android::FontCollection> getFontCollection( - const char* fontDir, const char* fontXml); +android::FontCollection* getFontCollection(const char* fontDir, const char* fontXml); #endif // MINIKIN_FONT_TEST_UTILS_H |