diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-10-13 09:27:27 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-10-13 09:27:27 -0700 |
commit | 452b4f3f0ce1411350d57373528ccde77e40727d (patch) | |
tree | db9049209ff1f754026e680e6c18361ae4bc1a85 /fpdfsdk/include/javascript/IJavaScript.h | |
parent | e865ed12c4a476a4c74bf1ae97d3a6fa8ca06f0a (diff) | |
download | pdfium-452b4f3f0ce1411350d57373528ccde77e40727d.tar.xz |
Merge to XFA: Allow compiling PDFium without V8.
Original Review URL: https://codereview.chromium.org/1395733006 .
(cherry picked from commit f1c713663192368d26031a4caed1f9705f4510af)
Conflicts:
BUILD.gn
fpdfsdk/src/fpdfview.cpp
fpdfsdk/src/javascript/JS_Runtime.cpp
pdfium.gyp
samples/BUILD.gn
samples/samples.gyp
BUG=pdfium:211
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1393833006 .
Diffstat (limited to 'fpdfsdk/include/javascript/IJavaScript.h')
-rw-r--r-- | fpdfsdk/include/javascript/IJavaScript.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdfsdk/include/javascript/IJavaScript.h b/fpdfsdk/include/javascript/IJavaScript.h index fc8bf2bd7c..f78ee52793 100644 --- a/fpdfsdk/include/javascript/IJavaScript.h +++ b/fpdfsdk/include/javascript/IJavaScript.h @@ -134,6 +134,7 @@ class IJS_Context { class IJS_Runtime { public: + static void Initialize(unsigned int slot, void* isolate); static IJS_Runtime* Create(CPDFDoc_Environment* pEnv); virtual ~IJS_Runtime() {} |