diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-06 21:14:41 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-06 21:14:41 +0000 |
commit | 55b0b5ab342c86485e321f76f04f3f1fffeafae2 (patch) | |
tree | aaa6ca93e8bbdf6c7614921af418f6aefbd959eb /xfa/fxfa/cxfa_ffdocview.cpp | |
parent | 898690313426bf1604e0bb6def684db84a782494 (diff) | |
download | pdfium-55b0b5ab342c86485e321f76f04f3f1fffeafae2.tar.xz |
Cleanup CXFA_WidgetAcc
This CL cleans up some CXFA_WidgetAcc methods and hides the need for a
CFXJSE_Value inside the class. The API which required the Value always
used it to retrieve a boolean value, so make a new API which returns the
bool.
Change-Id: Ic50a9a73c992a9db8b57ce5f9f5ac17c88267809
Reviewed-on: https://pdfium-review.googlesource.com/17853
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffdocview.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffdocview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_ffdocview.cpp b/xfa/fxfa/cxfa_ffdocview.cpp index 6cb550e10d..28517089ee 100644 --- a/xfa/fxfa/cxfa_ffdocview.cpp +++ b/xfa/fxfa/cxfa_ffdocview.cpp @@ -689,7 +689,7 @@ bool CXFA_FFDocView::RunValidate() { for (CXFA_WidgetAcc* pAcc : m_ValidateAccs) { if (!pAcc->GetNode()->HasRemovedChildren()) - pAcc->ProcessValidate(); + pAcc->ProcessValidate(0); } m_ValidateAccs.clear(); return true; |