summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp
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.cpp
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.cpp')
-rw-r--r--xfa/fxfa/fm2js/xfa_fm2jscontext.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp b/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp
index 3a1925c0ab..96ebbfa1e9 100644
--- a/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp
+++ b/xfa/fxfa/fm2js/xfa_fm2jscontext.cpp
@@ -7179,9 +7179,6 @@ CXFA_FM2JSContext::~CXFA_FM2JSContext() {
}
m_hScriptRuntime = NULL;
}
-CXFA_FM2JSContext* CXFA_FM2JSContext::Create() {
- return new CXFA_FM2JSContext;
-}
void CXFA_FM2JSContext::Initialize(FXJSE_HRUNTIME hScriptRuntime,
FXJSE_HCONTEXT hScriptContext,
CXFA_Document* pDoc) {
@@ -7202,9 +7199,6 @@ void CXFA_FM2JSContext::Initialize(FXJSE_HRUNTIME hScriptRuntime,
void CXFA_FM2JSContext::GlobalPropertyGetter(FXJSE_HVALUE hValue) {
FXJSE_Value_Set(hValue, m_hValue);
}
-void CXFA_FM2JSContext::Release() {
- delete this;
-}
void CXFA_FM2JSContext::ThrowScriptErrorMessage(int32_t iStringID, ...) {
IXFA_AppProvider* pAppProvider = m_pDocument->GetNotify()->GetAppProvider();
ASSERT(pAppProvider);