diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-10-16 11:59:15 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-16 17:23:01 +0000 |
commit | e5a637cfb23da32443b345b07f090b65771fa1c9 (patch) | |
tree | ea02cb54280f727ba8ebe2c6598a76c8208c6fc9 /core/fpdfdoc/cpvt_generateap.cpp | |
parent | 8e7f932410732a4f05d2e69e9ff66277f54d1bd7 (diff) | |
download | pdfium-e5a637cfb23da32443b345b07f090b65771fa1c9.tar.xz |
Hide CPVT_Dash in CPVT_GenerateAP
The CPVT_Dash struct is only used in CPVT_GenerateAP. This CL moves the
struct definition into the cpp class and removes the cpvt_dash.h file.
Change-Id: I0f0c9279ded1086d47e81f1057d51121d9466974
Reviewed-on: https://pdfium-review.googlesource.com/16050
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpvt_generateap.cpp')
-rw-r--r-- | core/fpdfdoc/cpvt_generateap.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/fpdfdoc/cpvt_generateap.cpp b/core/fpdfdoc/cpvt_generateap.cpp index ac3e7a51a0..34edd0e088 100644 --- a/core/fpdfdoc/cpvt_generateap.cpp +++ b/core/fpdfdoc/cpvt_generateap.cpp @@ -29,6 +29,15 @@ #include "core/fpdfdoc/cpvt_word.h" #include "third_party/base/ptr_util.h" +struct CPVT_Dash { + CPVT_Dash(int32_t dash, int32_t gap, int32_t phase) + : nDash(dash), nGap(gap), nPhase(phase) {} + + int32_t nDash; + int32_t nGap; + int32_t nPhase; +}; + namespace { bool GenerateWidgetAP(CPDF_Document* pDoc, |