diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-08-01 19:13:06 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-01 19:13:06 +0000 |
commit | 2563fc3895f2a6a1faf74b46387b99c61be7370a (patch) | |
tree | bc809136c0daa416387c9a2044474969171796ca /fpdfsdk/cpdfsdk_annotiterator_embeddertest.cpp | |
parent | 6214ce98801c1f7a226781701ed290079b2a4031 (diff) | |
download | pdfium-2563fc3895f2a6a1faf74b46387b99c61be7370a.tar.xz |
Make FPDF_FormHandle be represented as an incomplete type.chromium/3510
Make consistent with other public API types.
Introduce CPDFSDKFormFillEnvironmentFromFPDFFormHandle() and
FPDFFormHandleFromCPDFSDKFormFillEnvironment() helper functions.
Use these to kill off some casts in the process.
Change-Id: I6230ecdb4cecd03076f5e24c8cc49c45ad694da7
Reviewed-on: https://pdfium-review.googlesource.com/39250
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_annotiterator_embeddertest.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_annotiterator_embeddertest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_annotiterator_embeddertest.cpp b/fpdfsdk/cpdfsdk_annotiterator_embeddertest.cpp index 879a365ae8..161ae95178 100644 --- a/fpdfsdk/cpdfsdk_annotiterator_embeddertest.cpp +++ b/fpdfsdk/cpdfsdk_annotiterator_embeddertest.cpp @@ -40,7 +40,7 @@ TEST_F(CPDFSDK_AnnotIteratorTest, CPDFSDK_AnnotIterator) { CFX_FloatRect RightTop(401, 401, 421, 421); CPDFSDK_FormFillEnvironment* pFormFillEnv = - static_cast<CPDFSDK_FormFillEnvironment*>(form_handle()); + CPDFSDKFormFillEnvironmentFromFPDFFormHandle(form_handle()); { // Page 0 specifies "row order". |