Index: Source/bindings/templates/dictionary_v8.h |
diff --git a/Source/bindings/templates/dictionary_v8.h b/Source/bindings/templates/dictionary_v8.h |
index a14f2bf79555c3516de17c697870c154ed588558..fb751e3ba1de53a27cf1b11e5f263c0054018279 100644 |
--- a/Source/bindings/templates/dictionary_v8.h |
+++ b/Source/bindings/templates/dictionary_v8.h |
@@ -17,13 +17,13 @@ class ExceptionState; |
class {{v8_class}} { |
public: |
- static {{cpp_class}}* toImpl(v8::Isolate*, v8::Handle<v8::Value>, ExceptionState&); |
+ static void toImpl(v8::Isolate*, v8::Handle<v8::Value>, {{cpp_class}}&, ExceptionState&); |
}; |
-v8::Handle<v8::Value> toV8({{cpp_class}}*, v8::Handle<v8::Object>, v8::Isolate*); |
+v8::Handle<v8::Value> toV8({{cpp_class}}&, v8::Handle<v8::Object>, v8::Isolate*); |
template<class CallbackInfo> |
-inline void v8SetReturnValue(const CallbackInfo& callbackInfo, {{cpp_class}}* impl) |
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, {{cpp_class}}& impl) |
{ |
v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate())); |
} |