Index: include/core/SkData.h |
diff --git a/include/core/SkData.h b/include/core/SkData.h |
index 28bf515347c2b302b7d08488cb99bac800e25a09..60a98e00f0049c8e0d08678a21b7418f77d8c22a 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. |