Index: fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp |
diff --git a/fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp b/fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp |
index 94164f12b853b76a88238df7cccc3c6ee9a0f6bd..e8bd9d0b7efedba1c4df9b301925c3aff9c11de6 100644 |
--- a/fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp |
+++ b/fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp |
@@ -134,7 +134,7 @@ FX_BOOL CPDFXFA_App::RemoveFormFillEnv(CPDFDoc_Environment* pEnv) |
} |
void CPDFXFA_App::ReleaseRuntime() |
{ |
- v8::Persistent<v8::Context> context; |
+ v8::Global<v8::Context> context; |
JS_ReleaseRuntime((IJS_Runtime*)m_hJSERuntime, context); |
} |