| Index: src/core/SkStreamPriv.h
|
| diff --git a/src/images/SkStreamHelpers.h b/src/core/SkStreamPriv.h
|
| similarity index 69%
|
| rename from src/images/SkStreamHelpers.h
|
| rename to src/core/SkStreamPriv.h
|
| index 008dd8e17a05f75b60e309a44578c2aa0b5c04d3..5b5a73adef0f7368bc6df2159af55e116a9d48fd 100644
|
| --- a/src/images/SkStreamHelpers.h
|
| +++ b/src/core/SkStreamPriv.h
|
| @@ -5,8 +5,8 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -#ifndef SkStreamHelpers_DEFINED
|
| -#define SkStreamHelpers_DEFINED
|
| +#ifndef SkStreamPriv_DEFINED
|
| +#define SkStreamPriv_DEFINED
|
|
|
| class SkAutoMalloc;
|
| class SkStream;
|
| @@ -23,14 +23,15 @@ class SkData;
|
| * @return size_t Total number of bytes in the SkStream, which is also the
|
| * number of bytes pointed to by storage->get(). Returns 0 on failure.
|
| */
|
| -size_t CopyStreamToStorage(SkAutoMalloc* storage, SkStream* stream);
|
| +size_t SkCopyStreamToStorage(SkAutoMalloc* storage, SkStream* stream);
|
|
|
| /**
|
| - * Copy the provided stream to an SkData variable. Used by SkImageDecoder_libktx.
|
| + * Copy the provided stream to an SkData variable.
|
| * @param stream SkStream to be copied into data.
|
| - * @return SkData* The resulting SkData after the copy. This data will have a
|
| - * ref count of one upon return and belongs to the caller. Returns NULL on failure.
|
| + * @return SkData* The resulting SkData after the copy. This data
|
| + * will have a ref count of one upon return and belongs to the
|
| + * caller. Returns NULL on failure.
|
| */
|
| -SkData *CopyStreamToData(SkStream* stream);
|
| +SkData *SkCopyStreamToData(SkStream* stream);
|
|
|
| -#endif // SkStreamHelpers_DEFINED
|
| +#endif // SkStreamPriv_DEFINED
|
|
|