summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_ffdocview.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-03-23 09:12:10 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-03-23 13:27:06 +0000
commite3978d0bf4283f6a8b39c2e7a4f980ac92631280 (patch)
treec80bfdcbe95991e954a8c41be7e8fe7a6ae3a546 /xfa/fxfa/app/xfa_ffdocview.cpp
parenta8c2b919f7adec510cbca49675ad4a0cd0d30fd9 (diff)
downloadpdfium-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 'xfa/fxfa/app/xfa_ffdocview.cpp')
-rw-r--r--xfa/fxfa/app/xfa_ffdocview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/app/xfa_ffdocview.cpp b/xfa/fxfa/app/xfa_ffdocview.cpp
index 1447d09140..210002c530 100644
--- a/xfa/fxfa/app/xfa_ffdocview.cpp
+++ b/xfa/fxfa/app/xfa_ffdocview.cpp
@@ -555,7 +555,7 @@ void CXFA_FFDocView::AddInvalidateRect(CXFA_FFPageView* pPageView,
void CXFA_FFDocView::RunInvalidate() {
for (const auto& pair : m_mapPageInvalidate)
- m_pDoc->GetDocEnvironment()->InvalidateRect(pair.first, *pair.second, 0);
+ m_pDoc->GetDocEnvironment()->InvalidateRect(pair.first, *pair.second);
m_mapPageInvalidate.clear();
}