Index: Source/bindings/templates/union.h |
diff --git a/Source/bindings/templates/union.h b/Source/bindings/templates/union.h |
index bfef378f9d4276480135c458b936e2d72fb95743..a5a42a78010562689e0efdfb3281b33fffcd5109 100644 |
--- a/Source/bindings/templates/union.h |
+++ b/Source/bindings/templates/union.h |
@@ -63,6 +63,11 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, {{container.cpp_c |
v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate())); |
} |
+template <> |
+struct NativeValueTraits<{{container.cpp_class}}> { |
+ static {{container.cpp_class}} nativeValue(const v8::Handle<v8::Value>&, v8::Isolate*, ExceptionState&); |
+}; |
+ |
{% endfor %} |
{% for cpp_type in nullable_cpp_types %} |
class V8{{cpp_type}}OrNull final { |