diff options
Diffstat (limited to 'fxjs/JS_Define.h')
-rw-r--r-- | fxjs/JS_Define.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fxjs/JS_Define.h b/fxjs/JS_Define.h index 08654b96e1..f45738e847 100644 --- a/fxjs/JS_Define.h +++ b/fxjs/JS_Define.h @@ -66,7 +66,7 @@ void JSPropGetter(const char* prop_name_string, v8::Local<v8::String> property, const v8::PropertyCallbackInfo<v8::Value>& info) { CJS_Runtime* pRuntime = - CJS_Runtime::CurrentRuntimeFromIsolate(info.GetIsolate()); + CJS_Runtime::RuntimeFromIsolateCurrentContext(info.GetIsolate()); if (!pRuntime) return; @@ -94,7 +94,7 @@ void JSPropSetter(const char* prop_name_string, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info) { CJS_Runtime* pRuntime = - CJS_Runtime::CurrentRuntimeFromIsolate(info.GetIsolate()); + CJS_Runtime::RuntimeFromIsolateCurrentContext(info.GetIsolate()); if (!pRuntime) return; @@ -118,7 +118,7 @@ void JSMethod(const char* method_name_string, const char* class_name_string, const v8::FunctionCallbackInfo<v8::Value>& info) { CJS_Runtime* pRuntime = - CJS_Runtime::CurrentRuntimeFromIsolate(info.GetIsolate()); + CJS_Runtime::RuntimeFromIsolateCurrentContext(info.GetIsolate()); if (!pRuntime) return; |