Index: include/core/SkStream.h |
diff --git a/include/core/SkStream.h b/include/core/SkStream.h |
index d7a105d3b84e1080fdc4157b1d40f52a1c68750c..3572d605bb3d1e15f5308f9031df145cdfe74b75 100644 |
--- a/include/core/SkStream.h |
+++ b/include/core/SkStream.h |
@@ -96,7 +96,9 @@ public: |
SkData* readData(); |
//SkStreamRewindable |
- /** Rewinds to the beginning of the stream. If this cannot be done, return false. */ |
+ /** Rewinds to the beginning of the stream. If this cannot be done, return false. |
+ * Return true if the stream is already at the beginning. |
djsollen
2013/08/22 19:59:18
that is misleading for subclasses that don't overr
bungeman-skia
2013/08/22 20:19:00
SkStreamRewindable makes this pure virtual so that
bungeman-skia
2013/08/22 20:42:45
Actually, an SkStream which is just wrapping stdin
djsollen
2013/08/23 12:15:13
I wasn't proposing that we change the behavior in
scroggo
2013/08/23 21:14:07
New comment for your judgment:
Streams are expecte
|
+ */ |
virtual bool rewind() { return false; } |
/** Duplicates this stream. If this cannot be done, returns NULL. |