summaryrefslogtreecommitdiff
path: root/samples/pdfium_test.cc
diff options
context:
space:
mode:
authorJochen Eisinger <jochen@chromium.org>2015-07-15 14:31:29 +0200
committerJochen Eisinger <jochen@chromium.org>2015-07-15 14:31:29 +0200
commit1c79928b4ade95806d0351a21b4d4727d6c8ed38 (patch)
tree379e7f2e8f1ecb15272329ff65f78b3990d66e65 /samples/pdfium_test.cc
parent304578020122cc4d2a4a8c1598694ef2b9be92b5 (diff)
downloadpdfium-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/pdfium_test.cc')
-rw-r--r--samples/pdfium_test.cc2
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;