diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-02-14 15:44:21 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-14 15:44:21 +0000 |
commit | d8d6f55140bd4f0a67de833346113cfa6e03c4bd (patch) | |
tree | 1031b18090215b45f2a1533dd0b17390bd6d96cc /xfa/fxfa/parser/cxfa_layoutitem.cpp | |
parent | 2f68cb53f5938e2dd572db79fc5689c987cb350d (diff) | |
download | pdfium-d8d6f55140bd4f0a67de833346113cfa6e03c4bd.tar.xz |
Cleanup CXFA_Document const-ness
This CL marks methods const where possible and removes redundant
methods from CXFA_Document.
Change-Id: I34804425469dfd52469daba68f64a4b511e5d4d0
Reviewed-on: https://pdfium-review.googlesource.com/26730
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_layoutitem.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_layoutitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_layoutitem.cpp b/xfa/fxfa/parser/cxfa_layoutitem.cpp index 7fb921ab84..bd8ca2a58a 100644 --- a/xfa/fxfa/parser/cxfa_layoutitem.cpp +++ b/xfa/fxfa/parser/cxfa_layoutitem.cpp @@ -18,7 +18,7 @@ void XFA_ReleaseLayoutItem(CXFA_LayoutItem* pLayoutItem) { CXFA_LayoutItem* pNode = pLayoutItem->m_pFirstChild; CXFA_FFNotify* pNotify = pLayoutItem->m_pFormNode->GetDocument()->GetNotify(); CXFA_LayoutProcessor* pDocLayout = - pLayoutItem->m_pFormNode->GetDocument()->GetDocLayout(); + pLayoutItem->m_pFormNode->GetDocument()->GetLayoutProcessor(); while (pNode) { CXFA_LayoutItem* pNext = pNode->m_pNextSibling; pNode->m_pParent = nullptr; |