Index: include/ports/SkRemotableFontMgr.h |
diff --git a/include/ports/SkRemotableFontMgr.h b/include/ports/SkRemotableFontMgr.h |
index ddc8e50a12e2e831b5e62c36e88f98d3a829e179..2e028cee2620f154040636a608707a6ef867ba22 100644 |
--- a/include/ports/SkRemotableFontMgr.h |
+++ b/include/ports/SkRemotableFontMgr.h |
@@ -61,10 +61,8 @@ public: |
* |
* The indexes may be used with getIndex(int) and |
* matchIndexStyle(int, SkFontStyle). |
- * |
- * The caller must unref() the returned object. |
*/ |
- virtual SkDataTable* getFamilyNames() const = 0; |
+ virtual sk_sp<SkDataTable> getFamilyNames() const = 0; |
/** |
* Returns all of the fonts with the given familyIndex. |