Index: sdk/lib/html/templates/html/impl/impl_Element.darttemplate |
diff --git a/sdk/lib/html/templates/html/impl/impl_Element.darttemplate b/sdk/lib/html/templates/html/impl/impl_Element.darttemplate |
index 0dadbe362579e09630bdb9d7a7e1ada3fad16fa1..aab5f014b9ca52dd8fdca8a33df7f541c1802639 100644 |
--- a/sdk/lib/html/templates/html/impl/impl_Element.darttemplate |
+++ b/sdk/lib/html/templates/html/impl/impl_Element.darttemplate |
@@ -103,7 +103,7 @@ class _ChildrenElementList implements List { |
} |
} |
- void sort([Comparator compare = Comparable.compare]) { |
+ void sort([int compare(Element a, Element b)]) { |
throw new UnsupportedError('TODO(jacobr): should we impl?'); |
} |
@@ -252,7 +252,7 @@ class _FrozenElementList implements List { |
throw new UnsupportedError(''); |
} |
- void sort([Comparator compare = Comparable.compare]) { |
+ void sort([int compare(Element a, Element b)]) { |
throw new UnsupportedError(''); |
} |