summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_document.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-04-05 19:05:11 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-05 19:05:11 +0000
commit5a552539e1382443eb18b046ad3ab9c4e673b5b1 (patch)
tree6113092eb39f1849aeafe8c711a4b16c9d2b8c9d /xfa/fxfa/parser/cxfa_document.h
parent72fe14aa5f56ac68be0842c3b0f2e799f145bed3 (diff)
downloadpdfium-5a552539e1382443eb18b046ad3ab9c4e673b5b1.tar.xz
Make CXFA_Document::m_rgGlobalBinding private
This CL moves the two accessor functions from being in an anonymous namespace to being public and makes the member itself private. Change-Id: Idd5dd1e6cc617d0be0fdd57ceace2dbc684a8b00 Reviewed-on: https://pdfium-review.googlesource.com/29856 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_document.h')
-rw-r--r--xfa/fxfa/parser/cxfa_document.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_document.h b/xfa/fxfa/parser/cxfa_document.h
index c04c31cfce..f924abb989 100644
--- a/xfa/fxfa/parser/cxfa_document.h
+++ b/xfa/fxfa/parser/cxfa_document.h
@@ -95,12 +95,15 @@ class CXFA_Document : public CXFA_NodeOwner {
void ClearLayoutData();
- std::map<uint32_t, CXFA_Node*> m_rgGlobalBinding;
+ CXFA_Node* GetGlobalBinding(uint32_t dwNameHash);
+ void RegisterGlobalBinding(uint32_t dwNameHash, CXFA_Node* pDataNode);
+
std::vector<CXFA_Node*> m_pPendingPageSet;
private:
UnownedPtr<CXFA_FFNotify> notify_;
CXFA_Node* m_pRootNode;
+ std::map<uint32_t, CXFA_Node*> m_rgGlobalBinding;
std::unique_ptr<CFXJSE_Engine> m_pScriptContext;
std::unique_ptr<CXFA_LayoutProcessor> m_pLayoutProcessor;
std::unique_ptr<CXFA_LocaleMgr> m_pLocalMgr;