summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/xfa_program.h
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2016-12-01 15:15:49 -0500
committerChromium commit bot <commit-bot@chromium.org>2016-12-01 20:34:10 +0000
commit991f61869cfba58206cc7ec038fe8d5305bbb2ba (patch)
tree5935ae9cecb17d07cbd2023cefc429050fdb5319 /xfa/fxfa/fm2js/xfa_program.h
parent8a463c5a1a2252b5fdbff3b5ab07d50273bbc391 (diff)
downloadpdfium-991f61869cfba58206cc7ec038fe8d5305bbb2ba.tar.xz
Move Init to constructor in CXFA_FMProgram
Change-Id: I6b2d1a5b06211b32f3053aad4d7ae7501ec8d8f6 Reviewed-on: https://pdfium-review.googlesource.com/2093 Commit-Queue: Nicolás Peña <npm@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/xfa_program.h')
-rw-r--r--xfa/fxfa/fm2js/xfa_program.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/fm2js/xfa_program.h b/xfa/fxfa/fm2js/xfa_program.h
index aa29bba87b..7a2dade6fd 100644
--- a/xfa/fxfa/fm2js/xfa_program.h
+++ b/xfa/fxfa/fm2js/xfa_program.h
@@ -14,10 +14,9 @@
class CXFA_FMProgram {
public:
- CXFA_FMProgram();
+ explicit CXFA_FMProgram(const CFX_WideStringC& wsFormcalc);
~CXFA_FMProgram();
- int32_t Init(const CFX_WideStringC& wsFormcalc);
int32_t ParseProgram();
int32_t TranslateProgram(CFX_WideTextBuf& wsJavaScript);