Chromium Code Reviews| Index: include/core/SkStream.h |
| =================================================================== |
| --- include/core/SkStream.h (revision 13651) |
| +++ include/core/SkStream.h (working copy) |
| @@ -205,7 +205,7 @@ |
| bool writeScalar(SkScalar); |
| bool writePackedUInt(size_t); |
| - bool writeStream(SkStream* input, size_t length); |
| + bool writeStream(SkStream* input, size_t length); |
| /** |
| * Append an SkData object to the stream, such that it can be read |
| @@ -216,6 +216,8 @@ |
| * just write the raw content of the SkData object to the stream. |
| */ |
| bool writeData(const SkData*); |
| + |
| + static int SizeOfPackedUInt(size_t value); |
|
bungeman-skia
2014/03/04 23:01:49
No issue with making this static, but it does forc
reed1
2014/03/05 17:05:57
/**
* This returns ...
*/
number of bytes it wi
robertphillips
2014/03/05 17:18:24
Done.
|
| }; |
| //////////////////////////////////////////////////////////////////////////////////////// |