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

Unified Diff: include/core/SkStream.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 | « include/core/SkOSFile.h ('k') | src/core/SkData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkStream.h
diff --git a/include/core/SkStream.h b/include/core/SkStream.h
index 6767778343f5f45a73935fcca9e287e92dac4f1d..2279f9ff10ec0c8fc06ccafc15a31f94d8cecb2a 100644
--- a/include/core/SkStream.h
+++ b/include/core/SkStream.h
@@ -224,8 +224,6 @@ public:
#include "SkString.h"
#include <stdio.h>
-struct SkFILE;
-
/** A stream that wraps a C FILE* file stream. */
class SK_API SkFILEStream : public SkStreamAsset {
public:
@@ -271,7 +269,7 @@ public:
const void* getMemoryBase() override;
private:
- SkFILE* fFILE;
+ FILE* fFILE;
SkString fName;
Ownership fOwnership;
// fData is lazilly initialized when needed.
@@ -364,7 +362,7 @@ public:
size_t bytesWritten() const override;
private:
- SkFILE* fFILE;
+ FILE* fFILE;
typedef SkWStream INHERITED;
};
« no previous file with comments | « include/core/SkOSFile.h ('k') | src/core/SkData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698