diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-03-23 09:12:10 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-23 13:27:06 +0000 |
commit | e3978d0bf4283f6a8b39c2e7a4f980ac92631280 (patch) | |
tree | c80bfdcbe95991e954a8c41be7e8fe7a6ae3a546 /fpdfsdk/fpdfxfa | |
parent | a8c2b919f7adec510cbca49675ad4a0cd0d30fd9 (diff) | |
download | pdfium-e3978d0bf4283f6a8b39c2e7a4f980ac92631280.tar.xz |
Remove unused invalidate flag
The flag passed to the DocEnvironment::InvalidateRect method is not
used. Remove.
Change-Id: I2a996e0bbf7f6a010c985bf4e9df0084dc0a7ea3
Reviewed-on: https://pdfium-review.googlesource.com/3154
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfxfa')
-rw-r--r-- | fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp | 3 | ||||
-rw-r--r-- | fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h | 8 |
2 files changed, 4 insertions, 7 deletions
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp b/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp index 743b68b27f..e54ca85fd9 100644 --- a/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp +++ b/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.cpp @@ -55,8 +55,7 @@ void CPDFXFA_DocEnvironment::SetChangeMark(CXFA_FFDoc* hDoc) { } void CPDFXFA_DocEnvironment::InvalidateRect(CXFA_FFPageView* pPageView, - const CFX_RectF& rt, - uint32_t dwFlags /* = 0 */) { + const CFX_RectF& rt) { if (!m_pContext->GetXFADoc() || !m_pContext->GetFormFillEnv()) return; diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h b/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h index 4624d8008c..8f1d238103 100644 --- a/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h +++ b/fpdfsdk/fpdfxfa/cpdfxfa_docenvironment.h @@ -21,11 +21,9 @@ class CPDFXFA_DocEnvironment : public IXFA_DocEnvironment { // IXFA_DocEnvironment void SetChangeMark(CXFA_FFDoc* hDoc) override; - // used in dynamic xfa, dwFlags refer to XFA_INVALIDATE_XXX macros. - void InvalidateRect(CXFA_FFPageView* pPageView, - const CFX_RectF& rt, - uint32_t dwFlags) override; - // show or hide caret + // Used in dynamic xfa. + void InvalidateRect(CXFA_FFPageView* pPageView, const CFX_RectF& rt) override; + // Show or hide caret. void DisplayCaret(CXFA_FFWidget* hWidget, bool bVisible, const CFX_RectF* pRtAnchor) override; |