aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/pdf/SkPDFStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pdf/SkPDFStream.h')
-rw-r--r--include/pdf/SkPDFStream.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/pdf/SkPDFStream.h b/include/pdf/SkPDFStream.h
index a975ad6efc..739177f56d 100644
--- a/include/pdf/SkPDFStream.h
+++ b/include/pdf/SkPDFStream.h
@@ -32,7 +32,8 @@ class SkPDFCatalog;
class SkPDFStream : public SkPDFDict {
public:
/** Create a PDF stream. A Length entry is automatically added to the
- * stream dictionary.
+ * stream dictionary. The stream may be retained (stream->ref() may be
+ * called) so its contents must not be changed after calling this.
* @param stream The data part of the stream.
*/
explicit SkPDFStream(SkStream* stream);