Update form fill version to 2 for pdfium_test.cc on XFA branch (only).
authorTom Sepez <tsepez@chromium.org>
Tue, 18 Nov 2014 22:10:25 +0000 (14:10 -0800)
committerTom Sepez <tsepez@chromium.org>
Tue, 18 Nov 2014 22:10:25 +0000 (14:10 -0800)
BUG=https://code.google.com/p/pdfium/issues/detail?id=82
R=bo_xu@foxitsoftware.com

Review URL: https://codereview.chromium.org/743493004

samples/pdfium_test.cc

index 3c0cef4..665849d 100644 (file)
@@ -253,7 +253,7 @@ void RenderPdf(const char* name, const char* pBuf, size_t len,
 
   FPDF_FORMFILLINFO form_callbacks;
   memset(&form_callbacks, '\0', sizeof(form_callbacks));
-  form_callbacks.version = 1;
+  form_callbacks.version = 2;
   form_callbacks.m_pJsPlatform = &platform_callbacks;
 
   TestLoader loader(pBuf, len);