From 472bb7f919736ae58461f653597eb6854119cca9 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 6 Nov 2017 18:17:41 +0000 Subject: Call CJX methods directly instead of proxying This CL updates the XFA JS code to call the methods on the CJX objects directly instead of proxying through the CXFA objects. The script methods have been removed from the CXFA objects. Change-Id: I2d7b502473a8e88a7af88b10aa0da602d4998394 Reviewed-on: https://pdfium-review.googlesource.com/17851 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- xfa/fxfa/parser/cscript_logpseudomodel.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'xfa/fxfa/parser/cscript_logpseudomodel.h') diff --git a/xfa/fxfa/parser/cscript_logpseudomodel.h b/xfa/fxfa/parser/cscript_logpseudomodel.h index 2501316a0e..e6e7960597 100644 --- a/xfa/fxfa/parser/cscript_logpseudomodel.h +++ b/xfa/fxfa/parser/cscript_logpseudomodel.h @@ -10,8 +10,6 @@ #include "fxjs/cjx_logpseudomodel.h" #include "xfa/fxfa/parser/cxfa_object.h" -class CFXJSE_Arguments; - class CScript_LogPseudoModel : public CXFA_Object { public: explicit CScript_LogPseudoModel(CXFA_Document* pDocument); @@ -20,12 +18,6 @@ class CScript_LogPseudoModel : public CXFA_Object { CJX_LogPseudoModel* JSLogPseudoModel() { return static_cast(JSObject()); } - - void Message(CFXJSE_Arguments* pArguments); - void TraceEnabled(CFXJSE_Arguments* pArguments); - void TraceActivate(CFXJSE_Arguments* pArguments); - void TraceDeactivate(CFXJSE_Arguments* pArguments); - void Trace(CFXJSE_Arguments* pArguments); }; #endif // XFA_FXFA_PARSER_CSCRIPT_LOGPSEUDOMODEL_H_ -- cgit v1.2.3