mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-04-17 20:27:23 +02:00
- Building on Windows now requires the Windows 10.0.10586 SDK. - Remove CefParseCSSColor which was implemented using Blink code in the browser process. This is longer advisable now that the Oilpan GC is enabled. - Avoid potential renderer process crashes by disabling script actions on the CefV8Context passed to CefRenderProcessHandler::OnContextReleased.
21 lines
710 B
Diff
21 lines
710 B
Diff
diff --git fpdfsdk/src/fpdfview.cpp fpdfsdk/src/fpdfview.cpp
|
|
index ba64709..02e1391 100644
|
|
--- fpdfsdk/src/fpdfview.cpp
|
|
+++ fpdfsdk/src/fpdfview.cpp
|
|
@@ -14,6 +14,7 @@
|
|
#include "fpdfsdk/include/fsdk_mgr.h"
|
|
#include "fpdfsdk/include/fsdk_rendercontext.h"
|
|
#include "fpdfsdk/include/javascript/IJavaScript.h"
|
|
+#include "fpdfsdk/include/jsapi/fxjs_v8.h"
|
|
#include "public/fpdf_ext.h"
|
|
#include "public/fpdf_progressive.h"
|
|
#include "third_party/base/numerics/safe_conversions_impl.h"
|
|
@@ -258,6 +259,7 @@ DLLEXPORT void STDCALL FPDF_DestroyLibrary() {
|
|
#endif // PDF_ENABLE_XFA
|
|
CPDF_ModuleMgr::Destroy();
|
|
CFX_GEModule::Destroy();
|
|
+ FXJS_Release();
|
|
|
|
delete g_pCodecModule;
|
|
g_pCodecModule = nullptr;
|