Index: fpdfsdk/include/jsapi/fxjs_v8.h |
diff --git a/fpdfsdk/include/jsapi/fxjs_v8.h b/fpdfsdk/include/jsapi/fxjs_v8.h |
index f4f9d4685208c99aab89ad4628f23c9884b8f839..d3cd4ebe6e4a24f820e2a0180f7c018fd5db976f 100644 |
--- a/fpdfsdk/include/jsapi/fxjs_v8.h |
+++ b/fpdfsdk/include/jsapi/fxjs_v8.h |
@@ -78,6 +78,9 @@ void FXJS_Release(); |
// created. |
bool FXJS_GetIsolate(v8::Isolate** pResultIsolate); |
+// Get the global isolate's ref count. |
+size_t FXJS_GlobalIsolateRefCount(); |
+ |
// Call before making FXJS_Define* calls. Resources allocated here are cleared |
// as part of FXJS_ReleaseRuntime(). |
void FXJS_PrepareIsolate(v8::Isolate* pIsolate); |