| Index: xfa/fxfa/parser/xfa_document_layout_imp.cpp
|
| diff --git a/xfa/fxfa/parser/xfa_document_layout_imp.cpp b/xfa/fxfa/parser/xfa_document_layout_imp.cpp
|
| index 31733bb52d1024d6e7d418087b51a4c769fdf84d..723ae1db6910d90c3674677e2c9191670138b98c 100644
|
| --- a/xfa/fxfa/parser/xfa_document_layout_imp.cpp
|
| +++ b/xfa/fxfa/parser/xfa_document_layout_imp.cpp
|
| @@ -55,7 +55,7 @@ int32_t CXFA_LayoutProcessor::StartLayout(FX_BOOL bForceRestart) {
|
| return -1;
|
| }
|
| CXFA_Node* pFormRoot =
|
| - pFormPacketNode->GetFirstChildByClass(XFA_ELEMENT_Subform);
|
| + pFormPacketNode->GetFirstChildByClass(XFA_Element::Subform);
|
| if (!pFormRoot) {
|
| return -1;
|
| }
|
| @@ -178,7 +178,7 @@ int32_t CXFA_ContainerLayoutItem::GetPageIndex() const {
|
|
|
| void CXFA_ContainerLayoutItem::GetPageSize(CFX_SizeF& size) const {
|
| size.clear();
|
| - CXFA_Node* pMedium = m_pFormNode->GetFirstChildByClass(XFA_ELEMENT_Medium);
|
| + CXFA_Node* pMedium = m_pFormNode->GetFirstChildByClass(XFA_Element::Medium);
|
| if (!pMedium)
|
| return;
|
|
|
|
|