diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-06 18:17:41 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-06 18:17:41 +0000 |
commit | 472bb7f919736ae58461f653597eb6854119cca9 (patch) | |
tree | fb7a694e41bba43a7be04b3d7790b0872fee68bf /xfa/fxfa/parser/cscript_logpseudomodel.cpp | |
parent | d19aa7c572c252dd0398f277d13ec1733f1c7098 (diff) | |
download | pdfium-472bb7f919736ae58461f653597eb6854119cca9.tar.xz |
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 <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cscript_logpseudomodel.cpp')
-rw-r--r-- | xfa/fxfa/parser/cscript_logpseudomodel.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/xfa/fxfa/parser/cscript_logpseudomodel.cpp b/xfa/fxfa/parser/cscript_logpseudomodel.cpp index 07c84de8e1..7a9c410aba 100644 --- a/xfa/fxfa/parser/cscript_logpseudomodel.cpp +++ b/xfa/fxfa/parser/cscript_logpseudomodel.cpp @@ -17,23 +17,3 @@ CScript_LogPseudoModel::CScript_LogPseudoModel(CXFA_Document* pDocument) pdfium::MakeUnique<CJX_LogPseudoModel>(this)) {} CScript_LogPseudoModel::~CScript_LogPseudoModel() {} - -void CScript_LogPseudoModel::Message(CFXJSE_Arguments* pArguments) { - JSLogPseudoModel()->Message(pArguments); -} - -void CScript_LogPseudoModel::TraceEnabled(CFXJSE_Arguments* pArguments) { - JSLogPseudoModel()->TraceEnabled(pArguments); -} - -void CScript_LogPseudoModel::TraceActivate(CFXJSE_Arguments* pArguments) { - JSLogPseudoModel()->TraceActivate(pArguments); -} - -void CScript_LogPseudoModel::TraceDeactivate(CFXJSE_Arguments* pArguments) { - JSLogPseudoModel()->TraceDeactivate(pArguments); -} - -void CScript_LogPseudoModel::Trace(CFXJSE_Arguments* pArguments) { - JSLogPseudoModel()->Trace(pArguments); -} |