| Index: third_party/WebKit/Source/bindings/templates/union_container.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/bindings/templates/union_container.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/union_container.cpp.tmpl
|
| index ac99c69cd21e220fd2fcfd6f84f80fe36bf5df0d..0955055c16c9e0cbf24cfde659b58a16dc5b443c 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/union_container.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/union_container.cpp.tmpl
|
| @@ -198,7 +198,7 @@ v8::Local<v8::Value> ToV8(const {{cpp_class}}& impl, v8::Local<v8::Object> creat
|
|
|
| {{cpp_class}} NativeValueTraits<{{cpp_class}}>::nativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState) {
|
| {{cpp_class}} impl;
|
| - {{v8_class}}::toImpl(isolate, value, impl, UnionTypeConversionMode::NotNullable, exceptionState);
|
| + {{v8_class}}::toImpl(isolate, value, impl, UnionTypeConversionMode::{% if includes_nullable_type %}Nullable{% else %}NotNullable{% endif %}, exceptionState);
|
| return impl;
|
| }
|
|
|
|
|