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

Unified Diff: client/html/release/htmlimpl.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 place where Collection<E> was treated as List<E> Created 8 years, 11 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:
Download patch
Index: client/html/release/htmlimpl.dart
diff --git a/client/html/release/htmlimpl.dart b/client/html/release/htmlimpl.dart
index 1ea897b18e9a815d0ff8d384dce93fe86db5b539..e6e0430cd5ae41ca33df8a7d0ffcdac097243bbc 100644
--- a/client/html/release/htmlimpl.dart
+++ b/client/html/release/htmlimpl.dart
@@ -23137,7 +23137,7 @@ class EventTargetWrappingImplementation extends DOMWrapperBase implements EventT
return _on;
}
}
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -24173,7 +24173,7 @@ class StorageEventWrappingImplementation extends EventWrappingImplementation imp
class SVGDocumentWrappingImplementation extends DocumentWrappingImplementation implements SVGDocument {
SVGDocumentWrappingImplementation._wrap(dom.SVGDocument ptr) : super._wrap(ptr, ptr.rootElement);
}
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -24204,7 +24204,7 @@ class SVGElementWrappingImplementation extends ElementWrappingImplementation imp
}
parentTag.innerHTML = svg;
- if (parentTag.elements.length == 1) return parentTag.elements[0];
+ if (parentTag.elements.length == 1) return parentTag.elements.iterator().next();
throw new IllegalArgumentException('SVG had ${parentTag.elements.length} ' +
'top-level elements but 1 expected');

Powered by Google App Engine
This is Rietveld 408576698