From 152bfe0f60763263e8bf7292762885eb2aec9b85 Mon Sep 17 00:00:00 2001 From: Nicolas Pena Date: Tue, 18 Apr 2017 15:36:29 -0400 Subject: Libtiff upstream: _TIFFcalloc addition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream commit: https://github.com/vadz/libtiff/commit/d60332057b9575ada4f264489582b13e30137be1 Bug: chromium:711638 Change-Id: I46de1a00f9bb8d5de8df64ec78a9d62dcb4352ed Reviewed-on: https://pdfium-review.googlesource.com/4310 Reviewed-by: Tom Sepez Commit-Queue: Nicolás Peña --- core/fxcrt/fx_memory.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/fxcrt/fx_memory.h') diff --git a/core/fxcrt/fx_memory.h b/core/fxcrt/fx_memory.h index eb369d7d6c..684f2f2646 100644 --- a/core/fxcrt/fx_memory.h +++ b/core/fxcrt/fx_memory.h @@ -15,6 +15,7 @@ extern "C" { // For external C libraries to malloc through PDFium. These may return nullptr. void* FXMEM_DefaultAlloc(size_t byte_size, int flags); +void* FXMEM_DefaultCalloc(size_t num_elems, size_t byte_size); void* FXMEM_DefaultRealloc(void* pointer, size_t new_size, int flags); void FXMEM_DefaultFree(void* pointer, int flags); -- cgit v1.2.3