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

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

Issue 166213002: Version 1.2.0-dev.5.7 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 years, 10 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: tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
===================================================================
--- tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate (revision 32687)
+++ tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate (working copy)
@@ -21,18 +21,21 @@
validator: validator, treeSanitizer: treeSanitizer);
}
+ HtmlCollection get _children => throw new UnimplementedError(
+ 'Use _docChildren instead');
+
$if DART2JS
// Native field is used only by Dart code so does not lead to instantiation
// of native classes
@Creates('Null')
$endif
- List<Element> _children;
+ List<Element> _docChildren;
List<Element> get children {
- if (_children == null) {
- _children = new FilteredElementList(this);
+ if (_docChildren == null) {
+ _docChildren = new FilteredElementList(this);
}
- return _children;
+ return _docChildren;
}
void set children(List<Element> value) {
« no previous file with comments | « tools/dom/templates/html/impl/impl_AbstractWorker.darttemplate ('k') | tools/dom/templates/html/impl/impl_Window.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698