| 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 0991abeec6f43c20bd85d5791f0a849c3a25bc38..ba1b5cfb0c979e4c654179a0f414eb753bff9c34 100644
|
| --- a/Source/bindings/tests/results/core/UnionTypesCore.h
|
| +++ b/Source/bindings/tests/results/core/UnionTypesCore.h
|
| @@ -65,7 +65,7 @@ private:
|
|
|
| class V8ArrayBufferOrArrayBufferViewOrDictionary final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, ArrayBufferOrArrayBufferViewOrDictionary&, ExceptionState&);
|
| + static bool toImpl(v8::Isolate*, v8::Local<v8::Value>, ArrayBufferOrArrayBufferViewOrDictionary&, ExceptionState&);
|
| };
|
|
|
| v8::Local<v8::Value> toV8(const ArrayBufferOrArrayBufferViewOrDictionary&, v8::Local<v8::Object>, v8::Isolate*);
|
| @@ -120,7 +120,7 @@ private:
|
|
|
| class V8BooleanOrStringOrUnrestrictedDouble final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, BooleanOrStringOrUnrestrictedDouble&, ExceptionState&);
|
| + static bool toImpl(v8::Isolate*, v8::Local<v8::Value>, BooleanOrStringOrUnrestrictedDouble&, ExceptionState&);
|
| };
|
|
|
| v8::Local<v8::Value> toV8(const BooleanOrStringOrUnrestrictedDouble&, v8::Local<v8::Object>, v8::Isolate*);
|
| @@ -168,7 +168,7 @@ private:
|
|
|
| class V8DoubleOrString final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, DoubleOrString&, ExceptionState&);
|
| + static bool toImpl(v8::Isolate*, v8::Local<v8::Value>, DoubleOrString&, ExceptionState&);
|
| };
|
|
|
| v8::Local<v8::Value> toV8(const DoubleOrString&, v8::Local<v8::Object>, v8::Isolate*);
|
| @@ -218,7 +218,7 @@ private:
|
|
|
| class V8NodeOrNodeList final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, NodeOrNodeList&, ExceptionState&);
|
| + static bool toImpl(v8::Isolate*, v8::Local<v8::Value>, NodeOrNodeList&, ExceptionState&);
|
| };
|
|
|
| v8::Local<v8::Value> toV8(const NodeOrNodeList&, v8::Local<v8::Object>, v8::Isolate*);
|
| @@ -273,7 +273,7 @@ private:
|
|
|
| class V8StringOrArrayBufferOrArrayBufferView final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, StringOrArrayBufferOrArrayBufferView&, ExceptionState&);
|
| + static bool toImpl(v8::Isolate*, v8::Local<v8::Value>, StringOrArrayBufferOrArrayBufferView&, ExceptionState&);
|
| };
|
|
|
| v8::Local<v8::Value> toV8(const StringOrArrayBufferOrArrayBufferView&, v8::Local<v8::Object>, v8::Isolate*);
|
| @@ -321,7 +321,7 @@ private:
|
|
|
| class V8StringOrDouble final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, StringOrDouble&, ExceptionState&);
|
| + static bool toImpl(v8::Isolate*, v8::Local<v8::Value>, StringOrDouble&, ExceptionState&);
|
| };
|
|
|
| v8::Local<v8::Value> toV8(const StringOrDouble&, v8::Local<v8::Object>, v8::Isolate*);
|
| @@ -369,7 +369,7 @@ private:
|
|
|
| class V8StringOrStringSequence final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, StringOrStringSequence&, ExceptionState&);
|
| + static bool toImpl(v8::Isolate*, v8::Local<v8::Value>, StringOrStringSequence&, ExceptionState&);
|
| };
|
|
|
| v8::Local<v8::Value> toV8(const StringOrStringSequence&, v8::Local<v8::Object>, v8::Isolate*);
|
| @@ -417,7 +417,7 @@ private:
|
|
|
| class V8TestEnumOrDouble final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestEnumOrDouble&, ExceptionState&);
|
| + static bool toImpl(v8::Isolate*, v8::Local<v8::Value>, TestEnumOrDouble&, ExceptionState&);
|
| };
|
|
|
| v8::Local<v8::Value> toV8(const TestEnumOrDouble&, v8::Local<v8::Object>, v8::Isolate*);
|
| @@ -465,7 +465,7 @@ private:
|
|
|
| class V8TestInterface2OrUint8Array final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterface2OrUint8Array&, ExceptionState&);
|
| + static bool toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterface2OrUint8Array&, ExceptionState&);
|
| };
|
|
|
| v8::Local<v8::Value> toV8(const TestInterface2OrUint8Array&, v8::Local<v8::Object>, v8::Isolate*);
|
| @@ -515,7 +515,7 @@ private:
|
|
|
| class V8TestInterfaceGarbageCollectedOrString final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterfaceGarbageCollectedOrString&, ExceptionState&);
|
| + static bool toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterfaceGarbageCollectedOrString&, ExceptionState&);
|
| };
|
|
|
| v8::Local<v8::Value> toV8(const TestInterfaceGarbageCollectedOrString&, v8::Local<v8::Object>, v8::Isolate*);
|
| @@ -563,7 +563,7 @@ private:
|
|
|
| class V8TestInterfaceOrLong final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterfaceOrLong&, ExceptionState&);
|
| + static bool toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterfaceOrLong&, ExceptionState&);
|
| };
|
|
|
| v8::Local<v8::Value> toV8(const TestInterfaceOrLong&, v8::Local<v8::Object>, v8::Isolate*);
|
| @@ -611,7 +611,7 @@ private:
|
|
|
| class V8TestInterfaceOrTestInterfaceEmpty final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterfaceOrTestInterfaceEmpty&, ExceptionState&);
|
| + static bool toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterfaceOrTestInterfaceEmpty&, ExceptionState&);
|
| };
|
|
|
| v8::Local<v8::Value> toV8(const TestInterfaceOrTestInterfaceEmpty&, v8::Local<v8::Object>, v8::Isolate*);
|
| @@ -661,7 +661,7 @@ private:
|
|
|
| class V8TestInterfaceWillBeGarbageCollectedOrTestDictionary final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterfaceWillBeGarbageCollectedOrTestDictionary&, ExceptionState&);
|
| + static bool toImpl(v8::Isolate*, v8::Local<v8::Value>, TestInterfaceWillBeGarbageCollectedOrTestDictionary&, ExceptionState&);
|
| };
|
|
|
| v8::Local<v8::Value> toV8(const TestInterfaceWillBeGarbageCollectedOrTestDictionary&, v8::Local<v8::Object>, v8::Isolate*);
|
| @@ -709,7 +709,7 @@ private:
|
|
|
| class V8UnrestrictedDoubleOrString final {
|
| public:
|
| - static void toImpl(v8::Isolate*, v8::Local<v8::Value>, UnrestrictedDoubleOrString&, ExceptionState&);
|
| + static bool toImpl(v8::Isolate*, v8::Local<v8::Value>, UnrestrictedDoubleOrString&, ExceptionState&);
|
| };
|
|
|
| v8::Local<v8::Value> toV8(const UnrestrictedDoubleOrString&, v8::Local<v8::Object>, v8::Isolate*);
|
| @@ -727,11 +727,11 @@ struct NativeValueTraits<UnrestrictedDoubleOrString> {
|
|
|
| class V8DoubleOrStringOrNull final {
|
| public:
|
| - static void toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value, DoubleOrString& impl, ExceptionState& exceptionState)
|
| + static bool toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value, DoubleOrString& impl, ExceptionState& exceptionState)
|
| {
|
| if (isUndefinedOrNull(v8Value))
|
| - return;
|
| - V8DoubleOrString::toImpl(isolate, v8Value, impl, exceptionState);
|
| + return true;
|
| + return V8DoubleOrString::toImpl(isolate, v8Value, impl, exceptionState);
|
| }
|
| };
|
|
|
|
|