From d5f726188761cd00cb3d16921093a859bda39a71 Mon Sep 17 00:00:00 2001 From: tsepez Date: Wed, 1 Jun 2016 14:01:31 -0700 Subject: Track shared isolates better in FXJSE. Fix the asymmetry between creating only some isolates and releasing all of them, even the shared ones, by being more careful not to trash those we didn't create. Review-Url: https://codereview.chromium.org/2025193002 --- xfa/fxjse/include/fxjse.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xfa/fxjse/include/fxjse.h') diff --git a/xfa/fxjse/include/fxjse.h b/xfa/fxjse/include/fxjse.h index 4a85251c03..ab95a6d675 100644 --- a/xfa/fxjse/include/fxjse.h +++ b/xfa/fxjse/include/fxjse.h @@ -69,8 +69,8 @@ struct FXJSE_CLASS_DESCRIPTOR { void FXJSE_Initialize(); void FXJSE_Finalize(); -v8::Isolate* FXJSE_Runtime_Create(); -void FXJSE_Runtime_Release(v8::Isolate* pIsolate, bool bOwnedRuntime); +v8::Isolate* FXJSE_Runtime_Create_Own(); +void FXJSE_Runtime_Release(v8::Isolate* pIsolate); CFXJSE_Context* FXJSE_Context_Create( v8::Isolate* pIsolate, -- cgit v1.2.3