Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Unified Diff: tools/dom/templates/html/impl/impl_Element.darttemplate

Issue 14246008: Allow Object when doing lookups. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Forgot to upload before committing Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/dom/src/WrappedList.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a6e165dc689e8a93b4890c3c08ec948df3e09b85..c5bf74007dfccfea5a8579a95ff82fc4670f6a58 100644
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
@@ -13,7 +13,7 @@ class _ChildrenElementList extends ListBase<Element> {
: _childElements = element.$dom_children,
_element = element;
- bool contains(Element element) => _childElements.contains(element);
+ bool contains(Object element) => _childElements.contains(element);
bool get isEmpty {
« no previous file with comments | « tools/dom/src/WrappedList.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698