| Index: Source/bindings/templates/interface.cpp
|
| diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp
|
| index a9cf68312c121a81d15f0e880a34fa1362ebf022..ecd09112f3562f6bb1e9f0c6413a86f3a1bbc4e6 100644
|
| --- a/Source/bindings/templates/interface.cpp
|
| +++ b/Source/bindings/templates/interface.cpp
|
| @@ -583,7 +583,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {% endfor %}
|
| {{cpp_class}}Init eventInit;
|
| if (info.Length() >= 2) {
|
| - TONATIVE_VOID(Dictionary, options, Dictionary(info[1], info.GetIsolate()));
|
| + Dictionary options(info[1], info.GetIsolate());
|
| if (!initialize{{cpp_class}}(eventInit, options, exceptionState, info)) {
|
| exceptionState.throwIfNeeded();
|
| return;
|
|
|