summaryrefslogtreecommitdiff
path: root/samples/pdfium_test.cc
diff options
context:
space:
mode:
authorBo Xu <bo_xu@foxitsoftware.com>2014-11-16 16:46:31 -0800
committerBo Xu <bo_xu@foxitsoftware.com>2014-11-16 16:46:31 -0800
commit1dc4f4112d72c63e465d6f09695ebea1119d39a6 (patch)
treea5530c9309350ba1cac6120b30c3206cc8f3d59a /samples/pdfium_test.cc
parent2c021e021e79c3fd04a99c28921a93f6aa56527e (diff)
downloadpdfium-1dc4f4112d72c63e465d6f09695ebea1119d39a6.tar.xz
Rename functions in test code also -- fixing build-break from 2c021e0
Change 2c021e0 fixed spelling errors in a couple of functions, but didn't update the test code leading to two compilation errors. Fixed in this change. Original patch from Bruce Dawson(brucedawson@chromium.org) R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/727243002
Diffstat (limited to 'samples/pdfium_test.cc')
-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 0f0c875f3d..96788e0aef 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_SetFormFieldHighlightColor(form, 0, 0xFFE4DD);
FPDF_SetFormFieldHighlightAlpha(form, 100);
@@ -355,7 +355,7 @@ void RenderPdf(const char* name, const char* pBuf, size_t len,
}
FORM_DoDocumentAAction(form, FPDFDOC_AACTION_WC);
- FPDFDOC_ExitFormFillEnviroument(form);
+ FPDFDOC_ExitFormFillEnvironment(form);
FPDF_CloseDocument(doc);
FPDFAvail_Destroy(pdf_avail);