mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
		
			941 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			941 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| diff --git BUILD.gn BUILD.gn
 | |
| index ca2338f..a5e62a2 100644
 | |
| --- BUILD.gn
 | |
| +++ BUILD.gn
 | |
| @@ -172,6 +172,10 @@ static_library("pdfium") {
 | |
|    } else {
 | |
|      libs += [ "freetype" ]
 | |
|    }
 | |
| +
 | |
| +  include_dirs = [
 | |
| +    "//v8/include",
 | |
| +  ]
 | |
|  }
 | |
|  
 | |
|  static_library("test_support") {
 | |
| diff --git fpdfsdk/fpdfview.cpp fpdfsdk/fpdfview.cpp
 | |
| index 1c0af1d..5898992 100644
 | |
| --- fpdfsdk/fpdfview.cpp
 | |
| +++ fpdfsdk/fpdfview.cpp
 | |
| @@ -28,6 +28,7 @@
 | |
|  #include "fpdfsdk/include/fsdk_mgr.h"
 | |
|  #include "fpdfsdk/include/fsdk_pauseadapter.h"
 | |
|  #include "fpdfsdk/javascript/ijs_runtime.h"
 | |
| +#include "fxjs/include/fxjs_v8.h"
 | |
|  #include "public/fpdf_ext.h"
 | |
|  #include "public/fpdf_progressive.h"
 | |
|  #include "third_party/base/numerics/safe_conversions_impl.h"
 | |
| @@ -296,6 +297,7 @@ DLLEXPORT void STDCALL FPDF_DestroyLibrary() {
 | |
|  #endif  // PDF_ENABLE_XFA
 | |
|    CPDF_ModuleMgr::Destroy();
 | |
|    CFX_GEModule::Destroy();
 | |
| +  FXJS_Release();
 | |
|  
 | |
|    delete g_pCodecModule;
 | |
|    g_pCodecModule = nullptr;
 |