summaryrefslogtreecommitdiff
path: root/testing/test_support.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'testing/test_support.cpp')
-rw-r--r--testing/test_support.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/test_support.cpp b/testing/test_support.cpp
index 6e1bb64bc0..20f1cadf09 100644
--- a/testing/test_support.cpp
+++ b/testing/test_support.cpp
@@ -9,6 +9,7 @@
#include <string>
+#include "core/fxcrt/fx_memory.h"
#include "testing/utils/path_service.h"
#ifdef PDF_ENABLE_V8
@@ -214,11 +215,10 @@ int TestSaver::WriteBlockCallback(FPDF_FILEWRITE* pFileWrite,
namespace pdfium {
void FPDF_Test::SetUp() {
- FPDF_InitLibrary();
+ FXMEM_InitalizePartitionAlloc();
}
void FPDF_Test::TearDown() {
- FPDF_DestroyLibrary();
}
} // namespace pdfium