diff options
author | Jochen Eisinger <jochen@chromium.org> | 2015-07-15 14:31:29 +0200 |
---|---|---|
committer | Jochen Eisinger <jochen@chromium.org> | 2015-07-15 14:31:29 +0200 |
commit | 1c79928b4ade95806d0351a21b4d4727d6c8ed38 (patch) | |
tree | 379e7f2e8f1ecb15272329ff65f78b3990d66e65 /samples | |
parent | 304578020122cc4d2a4a8c1598694ef2b9be92b5 (diff) | |
download | pdfium-1c79928b4ade95806d0351a21b4d4727d6c8ed38.tar.xz |
Plumb in an externally created v8::Isolate
In Chrome, all Isolates must be created by gin
R=tsepez@chromium.org, ulan@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1234053003 .
Diffstat (limited to 'samples')
-rw-r--r-- | samples/pdfium_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc index be126149ac..8ca26abd05 100644 --- a/samples/pdfium_test.cc +++ b/samples/pdfium_test.cc @@ -426,7 +426,7 @@ void RenderPdf(const std::string& name, const char* pBuf, size_t len, IPDF_JSPLATFORM platform_callbacks; memset(&platform_callbacks, '\0', sizeof(platform_callbacks)); - platform_callbacks.version = 1; + platform_callbacks.version = 2; platform_callbacks.app_alert = ExampleAppAlert; platform_callbacks.Doc_gotoPage = ExampleDocGotoPage; |