| Index: Source/bindings/dart/scripts/templates/interface_h.template
|
| diff --git a/Source/bindings/dart/scripts/templates/interface_h.template b/Source/bindings/dart/scripts/templates/interface_h.template
|
| index 0d03c03b5ea7c1d7be0af88afb9ebdbe878c3ed0..b2f81db26304fefa53b2f240ea1cb52421fa88fc 100644
|
| --- a/Source/bindings/dart/scripts/templates/interface_h.template
|
| +++ b/Source/bindings/dart/scripts/templates/interface_h.template
|
| @@ -91,6 +91,11 @@ struct {{dart_class}} {
|
| return DartDOMWrapper::unwrapDartWrapper<{{dart_class}}>(args, index, exception);
|
| }
|
|
|
| + static bool hasInstance(Dart_Handle wrapper)
|
| + {
|
| + return DartDOMWrapper::subtypeOf(wrapper, dartClassId);
|
| + }
|
| +
|
| static Dart_Handle toDart(NativeType* value)
|
| {
|
| if (!value)
|
|
|