summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/xfa_fm2jscontext.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-19 16:17:32 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-19 16:17:32 -0700
commitbc2f0c5c4e3bbb5f317c29716c2b94af03c38329 (patch)
tree6d6df66ff6be2b0af0de4aca90f0bace91849285 /xfa/fxfa/fm2js/xfa_fm2jscontext.h
parent39faf4fde606fa3b71d2b6b232cff3e86cb1303f (diff)
downloadpdfium-bc2f0c5c4e3bbb5f317c29716c2b94af03c38329.tar.xz
Remove Release() from CXFA_FM2JSContext
BUG= Review-Url: https://codereview.chromium.org/2000443002
Diffstat (limited to 'xfa/fxfa/fm2js/xfa_fm2jscontext.h')
-rw-r--r--xfa/fxfa/fm2js/xfa_fm2jscontext.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/xfa/fxfa/fm2js/xfa_fm2jscontext.h b/xfa/fxfa/fm2js/xfa_fm2jscontext.h
index b35d135912..287340345e 100644
--- a/xfa/fxfa/fm2js/xfa_fm2jscontext.h
+++ b/xfa/fxfa/fm2js/xfa_fm2jscontext.h
@@ -431,14 +431,15 @@ class CXFA_FM2JSContext {
static FX_DOUBLE HValueToDouble(FXJSE_HOBJECT hThis, FXJSE_HVALUE hValue);
static void HValueToUTF8String(FXJSE_HVALUE hValue,
CFX_ByteString& outputValue);
+
CXFA_FM2JSContext();
~CXFA_FM2JSContext();
- static CXFA_FM2JSContext* Create();
+
void Initialize(FXJSE_HRUNTIME hScriptRuntime,
FXJSE_HCONTEXT hScriptContext,
CXFA_Document* pDoc);
void GlobalPropertyGetter(FXJSE_HVALUE hValue);
- void Release();
+
FXJSE_HRUNTIME GetScriptRuntime() const { return m_hScriptRuntime; }
CXFA_Document* GetDocument() const { return m_pDocument; }
void ThrowScriptErrorMessage(int32_t iStringID, ...);