summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_layoutitem.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-02-14 15:44:21 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-14 15:44:21 +0000
commitd8d6f55140bd4f0a67de833346113cfa6e03c4bd (patch)
tree1031b18090215b45f2a1533dd0b17390bd6d96cc /xfa/fxfa/parser/cxfa_layoutitem.h
parent2f68cb53f5938e2dd572db79fc5689c987cb350d (diff)
downloadpdfium-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.h')
-rw-r--r--xfa/fxfa/parser/cxfa_layoutitem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_layoutitem.h b/xfa/fxfa/parser/cxfa_layoutitem.h
index 9c088601ef..e03f455de5 100644
--- a/xfa/fxfa/parser/cxfa_layoutitem.h
+++ b/xfa/fxfa/parser/cxfa_layoutitem.h
@@ -13,8 +13,6 @@ class CXFA_ContainerLayoutItem;
class CXFA_ContentLayoutItem;
class CXFA_LayoutProcessor;
-void XFA_ReleaseLayoutItem(CXFA_LayoutItem* pLayoutItem);
-
class CXFA_LayoutItem {
public:
virtual ~CXFA_LayoutItem();
@@ -53,4 +51,6 @@ class CXFA_LayoutItem {
bool m_bIsContentLayoutItem;
};
+void XFA_ReleaseLayoutItem(CXFA_LayoutItem* pLayoutItem);
+
#endif // XFA_FXFA_PARSER_CXFA_LAYOUTITEM_H_