diff options
Diffstat (limited to 'fxjs/cjs_global.cpp')
-rw-r--r-- | fxjs/cjs_global.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fxjs/cjs_global.cpp b/fxjs/cjs_global.cpp index c9afdcb8b8..efeef56b08 100644 --- a/fxjs/cjs_global.cpp +++ b/fxjs/cjs_global.cpp @@ -32,7 +32,7 @@ template <class Alt> void JSSpecialPropQuery(const char*, v8::Local<v8::String> property, const v8::PropertyCallbackInfo<v8::Integer>& info) { - Alt* pObj = JSGetObject<Alt>(info.Holder()); + auto pObj = JSGetObject<Alt>(info.Holder()); if (!pObj) return; @@ -50,7 +50,7 @@ template <class Alt> void JSSpecialPropGet(const char* class_name, v8::Local<v8::String> property, const v8::PropertyCallbackInfo<v8::Value>& info) { - Alt* pObj = JSGetObject<Alt>(info.Holder()); + auto pObj = JSGetObject<Alt>(info.Holder()); if (!pObj) return; @@ -75,7 +75,7 @@ void JSSpecialPropPut(const char* class_name, v8::Local<v8::String> property, v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<v8::Value>& info) { - Alt* pObj = JSGetObject<Alt>(info.Holder()); + auto pObj = JSGetObject<Alt>(info.Holder()); if (!pObj) return; @@ -96,7 +96,7 @@ template <class Alt> void JSSpecialPropDel(const char* class_name, v8::Local<v8::String> property, const v8::PropertyCallbackInfo<v8::Boolean>& info) { - Alt* pObj = JSGetObject<Alt>(info.Holder()); + auto pObj = JSGetObject<Alt>(info.Holder()); if (!pObj) return; |