| Index: Source/bindings/tests/results/core/UnionTypesCore.h
|
| diff --git a/Source/bindings/tests/results/core/UnionTypesCore.h b/Source/bindings/tests/results/core/UnionTypesCore.h
|
| index b786f643ad91045d311c21632fb9983f4b4c0c4f..9cf980a4ec6997abbbc6a5eb206c6f81259d1599 100644
|
| --- a/Source/bindings/tests/results/core/UnionTypesCore.h
|
| +++ b/Source/bindings/tests/results/core/UnionTypesCore.h
|
| @@ -392,6 +392,17 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceWill
|
| v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()));
|
| }
|
|
|
| +
|
| +class V8DoubleOrStringOrNull final {
|
| +public:
|
| + static void toImpl(v8::Isolate* isolate, v8::Handle<v8::Value> v8Value, DoubleOrString& impl, ExceptionState& exceptionState)
|
| + {
|
| + if (isUndefinedOrNull(v8Value))
|
| + return;
|
| + V8DoubleOrString::toImpl(isolate, v8Value, impl, exceptionState);
|
| + }
|
| +};
|
| +
|
| } // namespace blink
|
|
|
| #endif // UnionTypeCore_h
|
|
|