summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_object.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-03-23 15:19:44 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-03-23 19:54:44 +0000
commit25d2ad482399ec20fdd0542d7c286ed06842f053 (patch)
tree01ff413c765c1e30b123e5a88681eb6f1f92aab9 /xfa/fxfa/parser/xfa_object.h
parentcd933f8633e95e1a6e6a885d30447835ca664f69 (diff)
downloadpdfium-25d2ad482399ec20fdd0542d7c286ed06842f053.tar.xz
Tighten up XFA Visibility
This Cl changes the protected sections to be private where possible in XFA. Change-Id: Ibeb6ad00389686b666b1c3c5e136b9eefe35ec9e Reviewed-on: https://pdfium-review.googlesource.com/3164 Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/xfa_object.h')
-rw-r--r--xfa/fxfa/parser/xfa_object.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/xfa_object.h b/xfa/fxfa/parser/xfa_object.h
index 91b88631ed..3e98a4747c 100644
--- a/xfa/fxfa/parser/xfa_object.h
+++ b/xfa/fxfa/parser/xfa_object.h
@@ -615,7 +615,7 @@ class CXFA_Node : public CXFA_Object {
bool bSetting,
XFA_ATTRIBUTE eAttribute);
- protected:
+ private:
friend class CXFA_Document;
CXFA_Node(CXFA_Document* pDoc,
@@ -737,7 +737,7 @@ class CXFA_ArrayNodeList : public CXFA_NodeList {
void SetArrayNodeList(const std::vector<CXFA_Node*>& srcArray);
- protected:
+ private:
std::vector<CXFA_Node*> m_array;
};
@@ -752,7 +752,7 @@ class CXFA_AttachNodeList : public CXFA_NodeList {
bool Remove(CXFA_Node* pNode) override;
CXFA_Node* Item(int32_t iIndex) override;
- protected:
+ private:
CXFA_Node* m_pAttachNode;
};
class CXFA_TraverseStrategy_XFAContainerNode {