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

Unified Diff: lib/html/src/shared_FactoryProviders.dart

Issue 10982002: Fixing creating SVG elements with trailing newlines. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | samples/logo/logo.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/src/shared_FactoryProviders.dart
diff --git a/lib/html/src/shared_FactoryProviders.dart b/lib/html/src/shared_FactoryProviders.dart
index f5c8abe38dc602aae926db7cf91dc2c072f527ad..146e7a69c12297ed9dfd812b4de8c914be3f1a05 100644
--- a/lib/html/src/shared_FactoryProviders.dart
+++ b/lib/html/src/shared_FactoryProviders.dart
@@ -89,7 +89,7 @@ class _SVGElementFactoryProvider {
}
parentTag.innerHTML = svg;
- if (parentTag.elements.length == 1) return parentTag.nodes.removeLast();
+ if (parentTag.elements.length == 1) return parentTag.elements.removeLast();
throw new IllegalArgumentException(
'SVG had ${parentTag.elements.length} '
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | samples/logo/logo.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698