| Index: Source/bindings/templates/dictionary_v8.h
|
| diff --git a/Source/bindings/templates/dictionary_v8.h b/Source/bindings/templates/dictionary_v8.h
|
| index c7368b38606157ffcb663e957426cc2347d383f3..058ac5973fc273b21c22465aaff36613c21aeb7f 100644
|
| --- a/Source/bindings/templates/dictionary_v8.h
|
| +++ b/Source/bindings/templates/dictionary_v8.h
|
| @@ -20,8 +20,8 @@ public:
|
| 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*);
|
| -void toV8{{cpp_class}}({{cpp_class}}&, v8::Handle<v8::Object> dictionary, v8::Handle<v8::Object> creationContext, v8::Isolate*);
|
| +v8::Handle<v8::Value> toV8(const {{cpp_class}}&, v8::Handle<v8::Object>, v8::Isolate*);
|
| +void toV8{{cpp_class}}(const {{cpp_class}}&, v8::Handle<v8::Object> dictionary, v8::Handle<v8::Object> creationContext, v8::Isolate*);
|
|
|
| template<class CallbackInfo>
|
| inline void v8SetReturnValue(const CallbackInfo& callbackInfo, {{cpp_class}}& impl)
|
| @@ -29,6 +29,11 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, {{cpp_class}}& im
|
| v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()));
|
| }
|
|
|
| +template <>
|
| +struct NativeValueTraits<{{cpp_class}}> {
|
| + static {{cpp_class}} nativeValue(const v8::Handle<v8::Value>&, v8::Isolate*, ExceptionState&);
|
| +};
|
| +
|
| } // namespace blink
|
|
|
| #endif // {{v8_original_class}}_h
|
|
|