| Index: third_party/WebKit/Source/bindings/templates/union_container.h.tmpl
|
| diff --git a/third_party/WebKit/Source/bindings/templates/union_container.h.tmpl b/third_party/WebKit/Source/bindings/templates/union_container.h.tmpl
|
| index c51eff4ba76738b4c3efdd4fb817f6d0bc8ee495..fd29d46cc6c32b1f25784fafab5da84d7a94faac 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/union_container.h.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/union_container.h.tmpl
|
| @@ -60,6 +60,11 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, {{cpp_class}}& im
|
| v8SetReturnValue(callbackInfo, ToV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()));
|
| }
|
|
|
| +template <class CallbackInfo>
|
| +inline void v8SetReturnValue(const CallbackInfo& callbackInfo, {{cpp_class}}& impl, v8::Local<v8::Object> creationContext) {
|
| + v8SetReturnValue(callbackInfo, ToV8(impl, creationContext, callbackInfo.GetIsolate()));
|
| +}
|
| +
|
| template <>
|
| struct NativeValueTraits<{{cpp_class}}> {
|
| {{exported}}static {{cpp_class}} nativeValue(v8::Isolate*, v8::Local<v8::Value>, ExceptionState&);
|
|
|