From a5ab26b8aa9ed12af8bdf323cb297f61cbfeb1fa Mon Sep 17 00:00:00 2001 From: dsinclair Date: Wed, 22 Jun 2016 21:09:12 -0700 Subject: 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 --- xfa/fxfa/parser/xfa_object_imp.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'xfa/fxfa/parser/xfa_object_imp.cpp') 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), -- cgit v1.2.3