diff options
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 aa171afe3f..7ecd9a2aee 100644 --- a/samples/pdfium_test.cc +++ b/samples/pdfium_test.cc @@ -427,7 +427,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; |