Index: include/core/SkTypeface.h |
diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h |
index c2aa543ab2748003f018e7f5fe4ea5019da44b38..ecf582bd88243a47b6d9b52f6f6feb60bca6a2e0 100644 |
--- a/include/core/SkTypeface.h |
+++ b/include/core/SkTypeface.h |
@@ -145,6 +145,7 @@ public: |
to a typeface referring to the same font. If that font is not available, |
return null. If an instance is returned, the caller is responsible for |
calling unref() when they are done with it. |
+ Does not affect ownership of SkStream. |
*/ |
static SkTypeface* Deserialize(SkStream*); |
@@ -276,6 +277,7 @@ public: |
* If ttcIndex is not null, it is set to the TrueTypeCollection index |
* of this typeface within the stream, or 0 if the stream is not a |
* collection. |
+ * The caller is responsible for deleting the stream. |
*/ |
SkStream* openStream(int* ttcIndex) const; |