Index: tools/dom/templates/html/impl/impl_Element.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate |
index 1c1426892d45bb247b55ace84badbb0ad9daa071..180a0b9d1d74456e31dd68b8e1f564cee61d412d 100644 |
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate |
@@ -821,8 +821,12 @@ $(ANNOTATIONS)$(NATIVESPEC)class $CLASSNAME$EXTENDS$IMPLEMENTS { |
} |
var convertedFrames = frames; |
if (convertedFrames is Iterable) { |
+$if DART2JS |
+ convertedFrames = frames.map(convertDartToNative_Dictionary).toList(); |
+$else |
convertedFrames = convertDartToNative_List( |
frames.map(convertDartToNative_Dictionary).toList()); |
+$endif |
} |
var convertedTiming = timing; |
if (convertedTiming is Map) { |