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

Unified Diff: client/html/src/XMLDocumentWrappingImplementation.dart

Issue 9315061: Specify the types for Element.classes, Element.elements and Node.nodes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed dynamic type error issue with VM. Created 8 years, 9 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
Index: client/html/src/XMLDocumentWrappingImplementation.dart
diff --git a/client/html/src/XMLDocumentWrappingImplementation.dart b/client/html/src/XMLDocumentWrappingImplementation.dart
index 64d0c1c2e4969b598069f15234307260833ecbf0..6d8c26482f505979ba6969f181b68dba10f2e72e 100644
--- a/client/html/src/XMLDocumentWrappingImplementation.dart
+++ b/client/html/src/XMLDocumentWrappingImplementation.dart
@@ -117,8 +117,7 @@ class XMLDocumentWrappingImplementation extends DocumentWrappingImplementation
ElementList get elements() => documentEl.elements;
- // TODO: The type of value should be Collection<Element>. See http://b/5392897
- void set elements(value) { documentEl.elements = value; }
+ void set elements(Collection<Element> value) { documentEl.elements = value; }
String get outerHTML() => documentEl.outerHTML;
« no previous file with comments | « client/html/src/SVGElementWrappingImplementation.dart ('k') | client/html/src/XMLElementWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698