| Index: Source/bindings/dart/custom/DartHTMLOptionsCollectionCustom.cpp
|
| ===================================================================
|
| --- Source/bindings/dart/custom/DartHTMLOptionsCollectionCustom.cpp (revision 1430)
|
| +++ Source/bindings/dart/custom/DartHTMLOptionsCollectionCustom.cpp (working copy)
|
| @@ -58,7 +58,7 @@
|
|
|
| Dart_Handle elementArgument = Dart_GetNativeArgument(args, 2);
|
| DartDOMData* domData = static_cast<DartDOMData*>(Dart_GetNativeIsolateData(args));
|
| - if (!DartDOMWrapper::instanceOf<DartHTMLOptionElement>(domData, elementArgument)) {
|
| + if (!DartDOMWrapper::subtypeOf<DartHTMLOptionElement>(domData, elementArgument)) {
|
| exception = DartDOMWrapper::exceptionCodeToDartException(TypeMismatchError);
|
| goto fail;
|
| }
|
|
|