summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_object_imp.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-22 21:09:12 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-22 21:09:12 -0700
commita5ab26b8aa9ed12af8bdf323cb297f61cbfeb1fa (patch)
treef221088789ecd18f38e895539af3ed305df2bc37 /xfa/fxfa/parser/xfa_object_imp.cpp
parent726b3db9b05c785923c65a260c59a9a9190c29e0 (diff)
downloadpdfium-a5ab26b8aa9ed12af8bdf323cb297f61cbfeb1fa.tar.xz
Remove unused GetScriptObjHash().
Method is never called, remove it and the data variable it uses as it will no longer be used. Review-Url: https://codereview.chromium.org/2088173003
Diffstat (limited to 'xfa/fxfa/parser/xfa_object_imp.cpp')
-rw-r--r--xfa/fxfa/parser/xfa_object_imp.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/xfa/fxfa/parser/xfa_object_imp.cpp b/xfa/fxfa/parser/xfa_object_imp.cpp
index c4dd9413cc..d71956bed5 100644
--- a/xfa/fxfa/parser/xfa_object_imp.cpp
+++ b/xfa/fxfa/parser/xfa_object_imp.cpp
@@ -5082,7 +5082,7 @@ void CXFA_Node::MoveBufferMapData(CXFA_Node* pSrcModule,
CXFA_OrdinaryObject::CXFA_OrdinaryObject(CXFA_Document* pDocument,
XFA_Element eElement)
- : CXFA_Object(pDocument, XFA_ObjectType::OrdinaryObject), m_uScriptHash(0) {
+ : CXFA_Object(pDocument, XFA_ObjectType::OrdinaryObject) {
m_eNodeClass = eElement;
}
@@ -5092,10 +5092,6 @@ XFA_Element CXFA_OrdinaryObject::GetClassID() const {
return m_eNodeClass;
}
-uint32_t CXFA_OrdinaryObject::GetScriptObjHash() const {
- return m_uScriptHash;
-}
-
CXFA_ThisProxy::CXFA_ThisProxy(CXFA_Node* pThisNode, CXFA_Node* pScriptNode)
: CXFA_Object(pThisNode->GetDocument(), XFA_ObjectType::VariablesThis),
m_pThisNode(NULL),