summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorBo Xu <bo_xu@foxitsoftware.com>2014-11-14 17:40:50 -0800
committerBo Xu <bo_xu@foxitsoftware.com>2014-11-16 17:19:03 -0800
commit2b7a49dabdac7c31975f2662f6513c0930617231 (patch)
treeb5fa498d6a071d574d56c48ff9d62e6238592b73 /samples
parentf13c1f3d21b1fad7a3ac70c14387379f6e146a1a (diff)
downloadpdfium-2b7a49dabdac7c31975f2662f6513c0930617231.tar.xz
Merge to XFA: patch from CL 700373006 and 727243002
Diffstat (limited to 'samples')
-rw-r--r--samples/pdfium_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc
index c5ac75e663..f50d4d16a2 100644
--- a/samples/pdfium_test.cc
+++ b/samples/pdfium_test.cc
@@ -289,7 +289,7 @@ void RenderPdf(const char* name, const char* pBuf, size_t len,
(void) FPDF_GetDocPermissions(doc);
(void) FPDFAvail_IsFormAvail(pdf_avail, &hints);
- FPDF_FORMHANDLE form = FPDFDOC_InitFormFillEnviroument(doc, &form_callbacks);
+ FPDF_FORMHANDLE form = FPDFDOC_InitFormFillEnvironment(doc, &form_callbacks);
FPDF_LoadXFA(doc);
FPDF_SetFormFieldHighlightColor(form, 0, 0xFFE4DD);
FPDF_SetFormFieldHighlightAlpha(form, 100);
@@ -357,7 +357,7 @@ void RenderPdf(const char* name, const char* pBuf, size_t len,
FORM_DoDocumentAAction(form, FPDFDOC_AACTION_WC);
FPDF_CloseDocument(doc);
- FPDFDOC_ExitFormFillEnviroument(form);
+ FPDFDOC_ExitFormFillEnvironment(form);
FPDFAvail_Destroy(pdf_avail);
printf("Loaded, parsed and rendered %zu pages.\n", rendered_pages);