Index: fpdfsdk/include/jsapi/fxjs_v8.h |
diff --git a/fpdfsdk/include/jsapi/fxjs_v8.h b/fpdfsdk/include/jsapi/fxjs_v8.h |
index 1705b894cf3b9ede31aa21c759f86b7376be5c30..8b5c0b2dd07b9a99f50393c31e813d11c785a3eb 100644 |
--- a/fpdfsdk/include/jsapi/fxjs_v8.h |
+++ b/fpdfsdk/include/jsapi/fxjs_v8.h |
@@ -70,6 +70,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); |