aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/ports/SkFontConfigInterface.h
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2015-01-27 05:39:10 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-27 05:39:10 -0800
commit5f213d9627d2eefa7da81cd97f36754f75eb4ae9 (patch)
treeab4712f955c73a4a8d97a9910176b12902dde642 /include/ports/SkFontConfigInterface.h
parentdc14fa4ec7739465d9bb9dbf1f0e537c80ad867f (diff)
SkTypeface to use SkStreamAsset.
SkTypeface already requires typeface streams to support SkStreamAsset in practice, and in practice all users are already supplying them. Review URL: https://codereview.chromium.org/869763002
Diffstat (limited to 'include/ports/SkFontConfigInterface.h')
-rw-r--r--include/ports/SkFontConfigInterface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ports/SkFontConfigInterface.h b/include/ports/SkFontConfigInterface.h
index 7a77b16e35..8c084a67b6 100644
--- a/include/ports/SkFontConfigInterface.h
+++ b/include/ports/SkFontConfigInterface.h
@@ -90,9 +90,9 @@ public:
/**
* Given a FontRef, open a stream to access its data, or return null
* if the FontRef's data is not available. The caller is responsible for
- * calling stream->unref() when it is done accessing the data.
+ * deleting the stream when it is done accessing the data.
*/
- virtual SkStream* openStream(const FontIdentity&) = 0;
+ virtual SkStreamAsset* openStream(const FontIdentity&) = 0;
/**
* Return a singleton instance of a direct subclass that calls into