From b810da2788d0aca491bee55b0f9d97b48e682bbf Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 3 Nov 2017 22:18:18 +0000 Subject: Remove flags param from FXMEM_DefaultAlloc() and friends. Change-Id: I24404be0065156a1cfdec31bafdf72c27fa70142 Reviewed-on: https://pdfium-review.googlesource.com/17792 Reviewed-by: Chris Palmer Commit-Queue: Lei Zhang --- core/fxcrt/fx_memory_unittest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/fxcrt/fx_memory_unittest.cpp') diff --git a/core/fxcrt/fx_memory_unittest.cpp b/core/fxcrt/fx_memory_unittest.cpp index ae15db2a72..2856bb9592 100644 --- a/core/fxcrt/fx_memory_unittest.cpp +++ b/core/fxcrt/fx_memory_unittest.cpp @@ -72,10 +72,10 @@ TEST(fxcrt, FX_TryAllocOverflow) { } TEST(fxcrt, DISABLED_FXMEM_DefaultOOM) { - EXPECT_FALSE(FXMEM_DefaultAlloc(kMaxByteAlloc, 0)); + EXPECT_FALSE(FXMEM_DefaultAlloc(kMaxByteAlloc)); - void* ptr = FXMEM_DefaultAlloc(1, 0); + void* ptr = FXMEM_DefaultAlloc(1); EXPECT_TRUE(ptr); - EXPECT_FALSE(FXMEM_DefaultRealloc(ptr, kMaxByteAlloc, 0)); - FXMEM_DefaultFree(ptr, 0); + EXPECT_FALSE(FXMEM_DefaultRealloc(ptr, kMaxByteAlloc)); + FXMEM_DefaultFree(ptr); } -- cgit v1.2.3