From c1df5d4375027aa9d0b88f456f95177c016e8cad Mon Sep 17 00:00:00 2001 From: dsinclair Date: Mon, 18 Jul 2016 06:36:51 -0700 Subject: Pass element hash and name into CXFA_Object constructor. Providing the element hash and name in the constructor allows us to remove the calls to XFA_GetElementByID in the get methods. Review-Url: https://codereview.chromium.org/2101403002 --- xfa/fxfa/parser/xfa_script_logpseudomodel.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'xfa/fxfa/parser/xfa_script_logpseudomodel.cpp') diff --git a/xfa/fxfa/parser/xfa_script_logpseudomodel.cpp b/xfa/fxfa/parser/xfa_script_logpseudomodel.cpp index 57909cdd79..4abed33a77 100644 --- a/xfa/fxfa/parser/xfa_script_logpseudomodel.cpp +++ b/xfa/fxfa/parser/xfa_script_logpseudomodel.cpp @@ -17,10 +17,17 @@ CScript_LogPseudoModel::CScript_LogPseudoModel(CXFA_Document* pDocument) : CXFA_Object(pDocument, XFA_ObjectType::Object, - XFA_Element::LogPseudoModel) {} + XFA_Element::LogPseudoModel, + CFX_WideStringC(L"logPseudoModel")) {} + CScript_LogPseudoModel::~CScript_LogPseudoModel() {} + void CScript_LogPseudoModel::Message(CFXJSE_Arguments* pArguments) {} + void CScript_LogPseudoModel::TraceEnabled(CFXJSE_Arguments* pArguments) {} + void CScript_LogPseudoModel::TraceActivate(CFXJSE_Arguments* pArguments) {} + void CScript_LogPseudoModel::TraceDeactivate(CFXJSE_Arguments* pArguments) {} + void CScript_LogPseudoModel::Trace(CFXJSE_Arguments* pArguments) {} -- cgit v1.2.3