summaryrefslogtreecommitdiff
path: root/core/src/fxcrt/fx_extension.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-08-05 10:11:22 -0700
committerTom Sepez <tsepez@chromium.org>2015-08-05 10:11:22 -0700
commit18d0aafda2d4984f510f4f679bfc5393c2c8a81b (patch)
treed236e8bd408a51d1ef928d5ec9a348c9314443bc /core/src/fxcrt/fx_extension.cpp
parent29007840b6deb699174ae5a6ef6b1188d001aa05 (diff)
downloadpdfium-18d0aafda2d4984f510f4f679bfc5393c2c8a81b.tar.xz
Merge to XFA: FPDF_Creator can only create file through callbacks.
(cherry picked from commit 5cd398545141226f082b2f757f23c73303058a83) Original Review URL: https://codereview.chromium.org/1264423003 . TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1275623002 .
Diffstat (limited to 'core/src/fxcrt/fx_extension.cpp')
-rw-r--r--core/src/fxcrt/fx_extension.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/src/fxcrt/fx_extension.cpp b/core/src/fxcrt/fx_extension.cpp
index 1ea05574e3..004e39d5e2 100644
--- a/core/src/fxcrt/fx_extension.cpp
+++ b/core/src/fxcrt/fx_extension.cpp
@@ -48,12 +48,6 @@ IFX_FileStream* FX_CreateFileStream(const FX_WCHAR* filename,
}
return FX_NEW CFX_CRTFileStream(pFA);
}
-IFX_FileWrite* FX_CreateFileWrite(const FX_CHAR* filename) {
- return FX_CreateFileStream(filename, FX_FILEMODE_Truncate);
-}
-IFX_FileWrite* FX_CreateFileWrite(const FX_WCHAR* filename) {
- return FX_CreateFileStream(filename, FX_FILEMODE_Truncate);
-}
IFX_FileRead* FX_CreateFileRead(const FX_CHAR* filename) {
return FX_CreateFileStream(filename, FX_FILEMODE_ReadOnly);
}