Chromium Code Reviews| Index: include/core/SkStream.h |
| diff --git a/include/core/SkStream.h b/include/core/SkStream.h |
| index d7a105d3b84e1080fdc4157b1d40f52a1c68750c..a81a9d5b80bc7f6a7473db840e8fd89865c2b7f8 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. Returns false iff after this call the stream |
| + * is NOT at the beginning. |
|
bungeman-skia
2013/08/26 22:24:58
I like this, but it means that this default implem
scroggo
2013/08/27 19:49:26
I modified these because a slight movement of the
|
| + */ |
| virtual bool rewind() { return false; } |
| /** Duplicates this stream. If this cannot be done, returns NULL. |