diff options
Diffstat (limited to 'include/core/SkData.h')
-rw-r--r-- | include/core/SkData.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/core/SkData.h b/include/core/SkData.h index 28bf515347..60a98e00f0 100644 --- a/include/core/SkData.h +++ b/include/core/SkData.h @@ -8,9 +8,10 @@ #ifndef SkData_DEFINED #define SkData_DEFINED +#include <stdio.h> + #include "SkRefCnt.h" -struct SkFILE; class SkStream; /** @@ -119,13 +120,13 @@ public: static SkData* NewFromFileName(const char path[]); /** - * Create a new dataref from a SkFILE. - * This does not take ownership of the SkFILE, nor close it. - * The caller is free to close the SkFILE at its convenience. - * The SkFILE must be open for reading only. + * Create a new dataref from a stdio FILE. + * This does not take ownership of the FILE, nor close it. + * The caller is free to close the FILE at its convenience. + * The FILE must be open for reading only. * Returns NULL on failure. */ - static SkData* NewFromFILE(SkFILE* f); + static SkData* NewFromFILE(FILE* f); /** * Create a new dataref from a file descriptor. |