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

Unified Diff: client/html/src/XMLElementWrappingImplementation.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/XMLElementWrappingImplementation.dart
diff --git a/client/html/src/XMLElementWrappingImplementation.dart b/client/html/src/XMLElementWrappingImplementation.dart
index 161cdbf7c5e11b4cca5ad0c6aecd4bf1d5ca0659..abc39a82e5897a57b6f26da1b9d3b583d3735c25 100644
--- a/client/html/src/XMLElementWrappingImplementation.dart
+++ b/client/html/src/XMLElementWrappingImplementation.dart
@@ -43,8 +43,7 @@ class XMLElementWrappingImplementation extends ElementWrappingImplementation
return _elements;
}
- // TODO: The type of value should be Collection<Element>. See http://b/5392897
- void set elements(value) {
+ void set elements(Collection<Element> value) {
final elements = this.elements;
elements.clear();
elements.addAll(value);
« no previous file with comments | « client/html/src/XMLDocumentWrappingImplementation.dart ('k') | compiler/java/com/google/dart/compiler/resolver/Elements.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698