| 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 6c9793e1bd74ca6e7af5825a5e774ffc7d297cca..cdac2803652c0df628a21bb4216b8bffd6a48aba 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/union_container.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/union_container.cpp.tmpl
|
| @@ -69,7 +69,7 @@ void {{v8_class}}::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value, {{
|
| {# The numbers in the following comments refer to the steps described in
|
| http://heycam.github.io/webidl/#es-union #}
|
| {# 1. null or undefined #}
|
| - if (conversionMode == UnionTypeConversionMode::Nullable && isUndefinedOrNull(v8Value))
|
| + if (conversionMode == UnionTypeConversionMode::kNullable && isUndefinedOrNull(v8Value))
|
| return;
|
|
|
| {% if dictionary_type %}
|
| @@ -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::kNotNullable, exceptionState);
|
| return impl;
|
| }
|
|
|
|
|