mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-29 18:49:52 +01:00
cc0db5f166
OSR tests will be fixed by a follow-up merge of Viz support (see issue #2575).
36 lines
943 B
Diff
36 lines
943 B
Diff
diff --git BUILD.gn BUILD.gn
|
|
index 42f20931a..2a14a60e7 100644
|
|
--- BUILD.gn
|
|
+++ BUILD.gn
|
|
@@ -199,6 +199,10 @@ jumbo_component("pdfium") {
|
|
if (is_component_build) {
|
|
deps += [ "testing/fuzzers:fuzzer_impls" ]
|
|
}
|
|
+
|
|
+ include_dirs = [
|
|
+ "//v8/include",
|
|
+ ]
|
|
}
|
|
|
|
# Targets below this are only visible within this file (and to the
|
|
diff --git fpdfsdk/fpdf_view.cpp fpdfsdk/fpdf_view.cpp
|
|
index 63374d2e9..7e9c32146 100644
|
|
--- fpdfsdk/fpdf_view.cpp
|
|
+++ fpdfsdk/fpdf_view.cpp
|
|
@@ -39,6 +39,7 @@
|
|
#include "fpdfsdk/cpdfsdk_helpers.h"
|
|
#include "fpdfsdk/cpdfsdk_pageview.h"
|
|
#include "fpdfsdk/ipdfsdk_pauseadapter.h"
|
|
+#include "fxjs/cfxjs_engine.h"
|
|
#include "fxjs/ijs_runtime.h"
|
|
#include "public/fpdf_formfill.h"
|
|
#include "third_party/base/ptr_util.h"
|
|
@@ -184,6 +185,7 @@ FPDF_EXPORT void FPDF_CALLCONV FPDF_DestroyLibrary() {
|
|
|
|
CPDF_ModuleMgr::Destroy();
|
|
CFX_GEModule::Destroy();
|
|
+ FXJS_Release();
|
|
|
|
IJS_Runtime::Destroy();
|
|
|