summaryrefslogtreecommitdiff
path: root/core/fxcodec/codec/ccodec_tiffmodule.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-11-03 22:18:18 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-03 22:18:18 +0000
commitb810da2788d0aca491bee55b0f9d97b48e682bbf (patch)
tree5bc3c77f1fc0945b6db71c62f9f347ff3dc1e398 /core/fxcodec/codec/ccodec_tiffmodule.cpp
parent882a190807b6f791e3b3f1a692c59fb93d746f94 (diff)
downloadpdfium-b810da2788d0aca491bee55b0f9d97b48e682bbf.tar.xz
Remove flags param from FXMEM_DefaultAlloc() and friends.
Change-Id: I24404be0065156a1cfdec31bafdf72c27fa70142 Reviewed-on: https://pdfium-review.googlesource.com/17792 Reviewed-by: Chris Palmer <palmer@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxcodec/codec/ccodec_tiffmodule.cpp')
-rw-r--r--core/fxcodec/codec/ccodec_tiffmodule.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fxcodec/codec/ccodec_tiffmodule.cpp b/core/fxcodec/codec/ccodec_tiffmodule.cpp
index a5b70c6899..0bf0045261 100644
--- a/core/fxcodec/codec/ccodec_tiffmodule.cpp
+++ b/core/fxcodec/codec/ccodec_tiffmodule.cpp
@@ -69,16 +69,16 @@ void* _TIFFcalloc(tmsize_t nmemb, tmsize_t siz) {
}
void* _TIFFmalloc(tmsize_t size) {
- return FXMEM_DefaultAlloc(size, 0);
+ return FXMEM_DefaultAlloc(size);
}
void _TIFFfree(void* ptr) {
if (ptr)
- FXMEM_DefaultFree(ptr, 0);
+ FXMEM_DefaultFree(ptr);
}
void* _TIFFrealloc(void* ptr, tmsize_t size) {
- return FXMEM_DefaultRealloc(ptr, size, 0);
+ return FXMEM_DefaultRealloc(ptr, size);
}
void _TIFFmemset(void* ptr, int val, tmsize_t size) {