diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-03 15:22:37 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-03 21:15:21 +0000 |
commit | 368c634f87eb5fdf03a532d3125d9b6c5400f61a (patch) | |
tree | 9b029f7d1cb63f56f187b28c898a112a42913969 /xfa/fxfa/cxfa_ffnotify.cpp | |
parent | 44820980f762797f1ffba61b9f5b8cf0922489a3 (diff) | |
download | pdfium-368c634f87eb5fdf03a532d3125d9b6c5400f61a.tar.xz |
Fold CXFA_BindItemsData into CXFA_BindItems
This CL merges CXFA_BindItemsData into the CXFA_BindItems class.
Change-Id: I424274fcd6a9a4376d78794b1014988c3649602f
Reviewed-on: https://pdfium-review.googlesource.com/22170
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffnotify.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffnotify.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_ffnotify.cpp b/xfa/fxfa/cxfa_ffnotify.cpp index 9da75bde23..5b47d99387 100644 --- a/xfa/fxfa/cxfa_ffnotify.cpp +++ b/xfa/fxfa/cxfa_ffnotify.cpp @@ -37,6 +37,7 @@ #include "xfa/fxfa/cxfa_fwladapterwidgetmgr.h" #include "xfa/fxfa/cxfa_textlayout.h" #include "xfa/fxfa/cxfa_textprovider.h" +#include "xfa/fxfa/parser/cxfa_binditems.h" #include "xfa/fxfa/parser/cxfa_node.h" namespace { @@ -346,7 +347,7 @@ void CXFA_FFNotify::OnNodeReady(CXFA_Node* pNode) { } switch (eType) { case XFA_Element::BindItems: - pDocView->m_BindItems.push_back(pNode); + pDocView->AddBindItem(static_cast<CXFA_BindItems*>(pNode)); break; case XFA_Element::Validate: pNode->SetFlag(XFA_NodeFlag_NeedsInitApp, false); |