summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/JS_Runtime_Stub.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/JS_Runtime_Stub.cpp')
-rw-r--r--fpdfsdk/javascript/JS_Runtime_Stub.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/fpdfsdk/javascript/JS_Runtime_Stub.cpp b/fpdfsdk/javascript/JS_Runtime_Stub.cpp
index 12edc1be3f..dcd8ceb97c 100644
--- a/fpdfsdk/javascript/JS_Runtime_Stub.cpp
+++ b/fpdfsdk/javascript/JS_Runtime_Stub.cpp
@@ -127,12 +127,9 @@ class CJS_RuntimeStub final : public IJS_Runtime {
IJS_EventContext* NewEventContext() override {
if (!m_pContext)
m_pContext = pdfium::MakeUnique<CJS_EventContextStub>();
- return GetCurrentEventContext();
- }
-
- IJS_EventContext* GetCurrentEventContext() override {
return m_pContext.get();
}
+
void ReleaseEventContext(IJS_EventContext* pContext) override {}
CPDFSDK_FormFillEnvironment* GetFormFillEnv() const override {