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

Unified Diff: client/html/src/SVGElementWrappingImplementation.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
« no previous file with comments | « client/html/src/Node.dart ('k') | client/html/src/XMLDocumentWrappingImplementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/src/SVGElementWrappingImplementation.dart
diff --git a/client/html/src/SVGElementWrappingImplementation.dart b/client/html/src/SVGElementWrappingImplementation.dart
index dbc200c381f41359e9dc0ac74049c003850a54c2..f9f321b729a59c6cff69894e75d5f2e03db9aa91 100644
--- a/client/html/src/SVGElementWrappingImplementation.dart
+++ b/client/html/src/SVGElementWrappingImplementation.dart
@@ -61,8 +61,7 @@ class SVGElementWrappingImplementation extends ElementWrappingImplementation imp
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/Node.dart ('k') | client/html/src/XMLDocumentWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698