| Index: xfa/fxfa/parser/xfa_layout_itemlayout.cpp
|
| diff --git a/xfa/fxfa/parser/xfa_layout_itemlayout.cpp b/xfa/fxfa/parser/xfa_layout_itemlayout.cpp
|
| index 6553dc07cc563b69e2c120370f84e7a4eac1a8bd..cd9484d75cb839c9537a35d723afff9ec45adb60 100644
|
| --- a/xfa/fxfa/parser/xfa_layout_itemlayout.cpp
|
| +++ b/xfa/fxfa/parser/xfa_layout_itemlayout.cpp
|
| @@ -561,8 +561,7 @@ CXFA_ContentLayoutItem* CXFA_ItemLayoutProcessor::ExtractLayoutItem() {
|
| CXFA_ContentLayoutItem* pOldLayoutItem = m_pOldLayoutItem;
|
| while (pOldLayoutItem) {
|
| CXFA_ContentLayoutItem* pNextOldLayoutItem = pOldLayoutItem->m_pNext;
|
| - pNotify->OnLayoutEvent(pDocLayout, pOldLayoutItem,
|
| - XFA_LAYOUTEVENT_ItemRemoving);
|
| + pNotify->OnLayoutItemRemoving(pDocLayout, pOldLayoutItem);
|
| delete pOldLayoutItem;
|
| pOldLayoutItem = pNextOldLayoutItem;
|
| }
|
| @@ -630,8 +629,7 @@ static void XFA_DeleteLayoutGeneratedNode(CXFA_Node* pGenerateNode) {
|
| CXFA_ContentLayoutItem* pNextLayoutItem = NULL;
|
| while (pCurLayoutItem) {
|
| pNextLayoutItem = pCurLayoutItem->m_pNext;
|
| - pNotify->OnLayoutEvent(pDocLayout, pCurLayoutItem,
|
| - XFA_LAYOUTEVENT_ItemRemoving);
|
| + pNotify->OnLayoutItemRemoving(pDocLayout, pCurLayoutItem);
|
| delete pCurLayoutItem;
|
| pCurLayoutItem = pNextLayoutItem;
|
| }
|
|
|