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

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

Issue 1330163010: Revert "Dartium w/ JsInterop enabled" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
diff --git a/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate b/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
index dd4d70b8a714156b6dd88066c8d5bd117210f52a..122b6f982cae05c3f4cd53a64c186316837c2b91 100644
--- a/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
+++ b/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
@@ -38,7 +38,7 @@ $endif
return _docChildren;
}
- set children(List<Element> value) {
+ void set children(List<Element> value) {
// Copy list first since we don't want liveness during iteration.
List copy = new List.from(value);
var children = this.children;
@@ -58,7 +58,12 @@ $endif
* [CSS selector specification](http://www.w3.org/TR/css3-selectors/).
*/
ElementList<Element> querySelectorAll(String selectors) =>
+$if JSINTEROP
+ _querySelectorAll(selectors);
+$else
new _FrozenElementList._wrap(_querySelectorAll(selectors));
+$endif
+
String get innerHtml {
final e = new Element.tag("div");
@@ -66,7 +71,7 @@ $endif
return e.innerHtml;
}
- set innerHtml(String value) {
+ void set innerHtml(String value) {
this.setInnerHtml(value);
}
« no previous file with comments | « tools/dom/templates/html/impl/impl_Document.darttemplate ('k') | tools/dom/templates/html/impl/impl_DocumentType.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698