mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-14 18:44:56 +01:00
3f71138d64
- Remove CefWindowInfo.transparent_painting_enabled. Set CefBrowserSettings.background_color to an opaque or transparent value instead.
36 lines
932 B
Diff
36 lines
932 B
Diff
diff --git BUILD.gn BUILD.gn
|
|
index 1d8f353..419c18d 100644
|
|
--- BUILD.gn
|
|
+++ BUILD.gn
|
|
@@ -220,6 +220,10 @@ static_library("pdfium") {
|
|
if (pdf_is_complete_lib) {
|
|
complete_static_lib = true
|
|
}
|
|
+
|
|
+ include_dirs = [
|
|
+ "//v8/include",
|
|
+ ]
|
|
}
|
|
|
|
static_library("test_support") {
|
|
diff --git fpdfsdk/fpdfview.cpp fpdfsdk/fpdfview.cpp
|
|
index 5010c17..ffc81fd 100644
|
|
--- fpdfsdk/fpdfview.cpp
|
|
+++ fpdfsdk/fpdfview.cpp
|
|
@@ -31,6 +31,7 @@
|
|
#include "fpdfsdk/fsdk_define.h"
|
|
#include "fpdfsdk/fsdk_pauseadapter.h"
|
|
#include "fpdfsdk/javascript/ijs_runtime.h"
|
|
+#include "fxjs/fxjs_v8.h"
|
|
#include "public/fpdf_ext.h"
|
|
#include "public/fpdf_progressive.h"
|
|
#include "third_party/base/allocator/partition_allocator/partition_alloc.h"
|
|
@@ -421,6 +422,7 @@ DLLEXPORT void STDCALL FPDF_DestroyLibrary() {
|
|
|
|
CPDF_ModuleMgr::Destroy();
|
|
CFX_GEModule::Destroy();
|
|
+ FXJS_Release();
|
|
|
|
delete g_pCodecModule;
|
|
g_pCodecModule = nullptr;
|