Skip to content

Commit 52ce5e1

Browse files
committed
1 parent 423ee0e commit 52ce5e1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

patches/v8/pdfium.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/fpdfsdk/fpdf_view.cpp b/fpdfsdk/fpdf_view.cpp
2-
index f747fe11c..602b6c02a 100644
2+
index c808459f4..0c6746b94 100644
33
--- a/fpdfsdk/fpdf_view.cpp
44
+++ b/fpdfsdk/fpdf_view.cpp
55
@@ -61,6 +61,9 @@
@@ -45,10 +45,10 @@ index f747fe11c..602b6c02a 100644
4545
+ g_isolate = v8::Isolate::New(params);
4646
+#endif // PDF_ENABLE_V8
4747
+
48-
FX_InitializeMemoryAllocators();
4948
CFX_Timer::InitializeGlobals();
5049

51-
@@ -238,11 +263,10 @@ FPDF_InitLibraryWithConfig(const FPDF_LIBRARY_CONFIG* config) {
50+
CFX_GEModule::RendererType renderer_type =
51+
@@ -237,11 +262,10 @@ FPDF_InitLibraryWithConfig(const FPDF_LIBRARY_CONFIG* config) {
5252
CPDFXFA_ModuleInit();
5353
#endif // PDF_ENABLE_XFA
5454

@@ -64,9 +64,9 @@ index f747fe11c..602b6c02a 100644
6464
g_bLibraryInitialized = true;
6565
}
6666

67-
@@ -263,6 +287,19 @@ FPDF_EXPORT void FPDF_CALLCONV FPDF_DestroyLibrary() {
67+
@@ -261,6 +285,19 @@ FPDF_EXPORT void FPDF_CALLCONV FPDF_DestroyLibrary() {
68+
CFX_GEModule::Destroy();
6869
CFX_Timer::DestroyGlobals();
69-
FX_DestroyMemoryAllocators();
7070

7171
+#ifdef PDF_ENABLE_XFA
7272
+ cppgc::ShutdownProcess();

0 commit comments

Comments
 (0)