Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(548)

Unified Diff: include/core/SkData.h

Issue 1467533003: Eliminate SkFILE - it always is the same as FILE. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-11-20 (Friday) 14:01:26 EST Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/core/SkOSFile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | include/core/SkOSFile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698