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

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

Issue 9732019: dart:html perf optimization based on runing Dromaeo benchmarks (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes 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: lib/dom/templates/html/impl/impl_DocumentFragment.darttemplate
diff --git a/lib/dom/templates/html/impl/impl_DocumentFragment.darttemplate b/lib/dom/templates/html/impl/impl_DocumentFragment.darttemplate
index 92c1df03f5bbd43fb098a516043275496bae8345..00639971d59be0d11866b1fbe96ca7db6d56206f 100644
--- a/lib/dom/templates/html/impl/impl_DocumentFragment.darttemplate
+++ b/lib/dom/templates/html/impl/impl_DocumentFragment.darttemplate
@@ -146,7 +146,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
}
ElementList queryAll(String selectors) =>
- new _FrozenElementList._wrap(_querySelectorAll(selectors));
+ new _FrozenElementList._wrap($dom_querySelectorAll(selectors));
String get innerHTML() {
final e = new Element.tag("div");
@@ -215,8 +215,8 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
String get tagName() => "";
String get webkitdropzone() => "";
String get webkitRegionOverflow() => "";
- Element get firstElementChild() => elements.first();
- Element get lastElementChild() => elements.last();
+ Element get $dom_firstElementChild() => elements.first();
+ Element get $dom_lastElementChild() => elements.last();
Element get nextElementSibling() => null;
Element get previousElementSibling() => null;
Element get offsetParent() => null;

Powered by Google App Engine
This is Rietveld 408576698