diff options
Diffstat (limited to 'fxjs/fxjs_v8.h')
-rw-r--r-- | fxjs/fxjs_v8.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fxjs/fxjs_v8.h b/fxjs/fxjs_v8.h index 457843f387..f5e52411f3 100644 --- a/fxjs/fxjs_v8.h +++ b/fxjs/fxjs_v8.h @@ -54,10 +54,8 @@ class V8TemplateMapTraits : public v8::StdMapTraits<void*, v8::Object> { typedef v8::GlobalValueMap<void*, v8::Object, V8TemplateMapTraits> MapType; typedef void WeakCallbackDataType; - static WeakCallbackDataType* WeakCallbackParameter( - MapType* map, - void* key, - const v8::Local<v8::Object>& value) { + static WeakCallbackDataType* + WeakCallbackParameter(MapType* map, void* key, v8::Local<v8::Object> value) { return key; } static MapType* MapFromWeakCallbackInfo( |