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

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

Issue 9963029: Fix some warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (due to error messages during upload) 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_SVGElement.darttemplate
diff --git a/lib/dom/templates/html/impl/impl_SVGElement.darttemplate b/lib/dom/templates/html/impl/impl_SVGElement.darttemplate
index 2b1406728dc092bc6925e0000d7766a044f78866..95adb520cf719a3e5c7e12adf604ef9addee4618 100644
--- a/lib/dom/templates/html/impl/impl_SVGElement.darttemplate
+++ b/lib/dom/templates/html/impl/impl_SVGElement.darttemplate
@@ -30,15 +30,15 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
String get outerHTML() {
final container = new Element.tag("div");
- final SVGElement clone = this.clone(true);
- container.elements.add(clone);
+ final SVGElement cloned = this.clone(true);
+ container.elements.add(cloned);
return container.innerHTML;
}
String get innerHTML() {
final container = new Element.tag("div");
- final SVGElement clone = this.clone(true);
- container.elements.addAll(clone.elements);
+ final SVGElement cloned = this.clone(true);
+ container.elements.addAll(cloned.elements);
return container.innerHTML;
}
« no previous file with comments | « lib/dom/templates/html/impl/impl_NodeList.darttemplate ('k') | lib/dom/templates/immutable_list_mixin.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698