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

Unified Diff: lib/html/dart2js/html_dart2js.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 10825393: Fix for Issue 3039. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
« no previous file with comments | « lib/dom/templates/html/impl/impl_Node.darttemplate ('k') | tests/html/html.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/dart2js/html_dart2js.dart
diff --git a/lib/html/dart2js/html_dart2js.dart b/lib/html/dart2js/html_dart2js.dart
index b4ed72771895717ad1180107590b996b868f8af8..182ab2edd5ba689db1fe49a0a9ff66e5c7c99751 100644
--- a/lib/html/dart2js/html_dart2js.dart
+++ b/lib/html/dart2js/html_dart2js.dart
@@ -9404,8 +9404,8 @@ class _ChildNodeListLazy implements NodeList {
_ChildNodeListLazy(this._this);
- _NodeImpl get first() native "return this._this.firstChild;";
- _NodeImpl last() native "return this._this.lastChild;";
+ _NodeImpl get first() => JS('_NodeImpl', '#.firstChild', _this);
+ _NodeImpl last() => JS('_NodeImpl', '#.lastChild', _this);
void add(_NodeImpl value) {
_this.$dom_appendChild(value);
« no previous file with comments | « lib/dom/templates/html/impl/impl_Node.darttemplate ('k') | tests/html/html.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698