| Index: Source/bindings/templates/union.cpp
|
| diff --git a/Source/bindings/templates/union.cpp b/Source/bindings/templates/union.cpp
|
| index 9e0bccec36263174f2d35c4a878d9ef435329219..9c8d4db7d333819a7d037ceb7c4630f14e0f6183 100644
|
| --- a/Source/bindings/templates/union.cpp
|
| +++ b/Source/bindings/templates/union.cpp
|
| @@ -52,14 +52,12 @@ void {{container.cpp_class}}::trace(Visitor* visitor)
|
| {% endif %}
|
| void V8{{container.cpp_class}}::toImpl(v8::Isolate* isolate, v8::Handle<v8::Value> v8Value, {{container.cpp_class}}& impl, ExceptionState& exceptionState)
|
| {
|
| - {# FIXME: We don't follow the spec on handling null and undefined at this
|
| - moment. Should be fixed once we implement all necessary conversion steps
|
| - below. #}
|
| if (v8Value.IsEmpty())
|
| return;
|
|
|
| {# The numbers in the following comments refer to the steps described in
|
| http://heycam.github.io/webidl/#es-union
|
| + NOTE: Step 1 (null or undefined) is handled in *OrNull::toImpl()
|
| FIXME: Implement all necessary steps #}
|
| {# 3. Platform objects (interfaces) #}
|
| {% for interface in container.interface_types %}
|
|
|