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.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/pdf/SkPDFStream.h b/include/pdf/SkPDFStream.h
index 10a40b6f98..5310b4e896 100644
--- a/include/pdf/SkPDFStream.h
+++ b/include/pdf/SkPDFStream.h
@@ -43,17 +43,19 @@ public:
bool indirect);
virtual size_t getOutputSize(SkPDFCatalog* catalog, bool indirect);
- /** Add the value to the stream dictionary with the given key.
+ /** Add the value to the stream dictionary with the given key. Refs value.
* @param key The key for this dictionary entry.
* @param value The value for this dictionary entry.
+ * @return The value argument is returned.
*/
- void insert(SkPDFName* key, SkPDFObject* value);
+ SkPDFObject* insert(SkPDFName* key, SkPDFObject* value);
- /** Add the value to the stream dictionary with the given key.
+ /** Add the value to the stream dictionary with the given key. Refs value.
* @param key The text of the key for this dictionary entry.
* @param value The value for this dictionary entry.
+ * @return The value argument is returned.
*/
- void insert(const char key[], SkPDFObject* value);
+ SkPDFObject* insert(const char key[], SkPDFObject* value);
private:
SkPDFDict fDict;