summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_node.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-31 19:54:25 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-31 19:54:25 +0000
commit990c09373b733346a06b03167ca43252cb93e986 (patch)
treed737288e1d7aaee4dfe0519b5db2906e1573538d /xfa/fxfa/parser/cxfa_node.h
parent8a9f2e13d13f996c1138b0a0e890bdfffb0633c9 (diff)
downloadpdfium-990c09373b733346a06b03167ca43252cb93e986.tar.xz
Create CXFA_Node::PresenceRequiresSpace
This CL replaces XFA_ItemLayoutProcessor_IsTakingSpace with a PresenceRequiresSpace call on CXFA_Node. Change-Id: Ibf570f25eeb3404d72e87cb62e06a7ad70f0916f Reviewed-on: https://pdfium-review.googlesource.com/24850 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_node.h')
-rw-r--r--xfa/fxfa/parser/cxfa_node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.h b/xfa/fxfa/parser/cxfa_node.h
index 415ad94fb8..22b5192264 100644
--- a/xfa/fxfa/parser/cxfa_node.h
+++ b/xfa/fxfa/parser/cxfa_node.h
@@ -136,6 +136,8 @@ class CXFA_Node : public CXFA_Object {
return HasFlag(XFA_NodeFlag_LayoutGeneratedNode);
}
+ bool PresenceRequiresSpace() const;
+
void SetBindingNode(CXFA_Node* node) {
binding_nodes_.clear();
if (node)