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

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

Issue 14630016: Getting html_dart2js and html_dartium a bit more in sync. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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_Element.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_Element.darttemplate b/tools/dom/templates/html/impl/impl_Element.darttemplate
index e4faf0ceb80daa8267c5bc0bd2213b8198ae2e23..18b6cf82d494adf4240bff08f68c27ac7f54f221 100644
--- a/tools/dom/templates/html/impl/impl_Element.darttemplate
+++ b/tools/dom/templates/html/impl/impl_Element.darttemplate
@@ -553,11 +553,11 @@ $if DART2JS
* * [insertAdjacentText]
* * [insertAdjacentElement]
*/
- void insertAdjacentHtml(String where, String text) {
+ void insertAdjacentHtml(String where, String html) {
Emily Fortuna 2013/05/14 00:29:30 really? the analyzer cares about parameter names?
blois 2013/05/14 01:03:16 It's a different one that I made using the analyze
if (JS('bool', '!!#.insertAdjacentHtml', this)) {
- _insertAdjacentHtml(where, text);
+ _insertAdjacentHtml(where, html);
} else {
- _insertAdjacentNode(where, new DocumentFragment.html(text));
+ _insertAdjacentNode(where, new DocumentFragment.html(html));
}
}

Powered by Google App Engine
This is Rietveld 408576698