mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-14 02:24:03 +01:00
243a9c26d7
- Delete include/cef_runnable.h (issue #1336). - Build the cef_unittests target using all Chromium headers. Add a USING_CHROMIUM_INCLUDES define and libcef_dll_wrapper_unittests target to support this. This change avoids compile errors due to the divergence of CEF and Chromium base/ header implementations. The libcef_dll_wrapper sources must now compile successfully with both CEF and Chromium base/ headers (issue #1632). - The onbeforeunload message specified via JavaScript is no longer passed to the client (see http://crbug.com/587940).
21 lines
694 B
Diff
21 lines
694 B
Diff
diff --git fpdfsdk/fpdfview.cpp fpdfsdk/fpdfview.cpp
|
|
index 4630ac1..9b5b36f 100644
|
|
--- fpdfsdk/fpdfview.cpp
|
|
+++ fpdfsdk/fpdfview.cpp
|
|
@@ -16,6 +16,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"
|
|
@@ -263,6 +264,7 @@ DLLEXPORT void STDCALL FPDF_DestroyLibrary() {
|
|
#endif // PDF_ENABLE_XFA
|
|
CPDF_ModuleMgr::Destroy();
|
|
CFX_GEModule::Destroy();
|
|
+ FXJS_Release();
|
|
|
|
delete g_pCodecModule;
|
|
g_pCodecModule = nullptr;
|