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

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

Issue 2718713003: Redo "Refined types for most HtmlElement factory constructors" (Closed)
Patch Set: ShadowElement() is unreliable Created 3 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
diff --git a/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate b/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
index 6627f0b7080b00a325715dded4d0cbd3868c024d..f34ea643e8bb5d2e7cdb56d8a8f82c4985347304 100644
--- a/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
+++ b/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate
@@ -62,7 +62,7 @@ $endif
String get innerHtml {
- final e = new Element.tag("div");
+ final e = new DivElement();
e.append(this.clone(true));
return e.innerHtml;
}

Powered by Google App Engine
This is Rietveld 408576698