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

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

Issue 9694027: Fix a type warning for SVGElement.tag. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « client/html/release/html.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/src/shared_FactoryProviders.dart
diff --git a/client/html/src/shared_FactoryProviders.dart b/client/html/src/shared_FactoryProviders.dart
index 90807d8150711b0723b86c142d84c6a244f559e1..99c90a25eef827ab961618f60f2d4ccd012267b4 100644
--- a/client/html/src/shared_FactoryProviders.dart
+++ b/client/html/src/shared_FactoryProviders.dart
@@ -133,8 +133,11 @@ class _DocumentFragmentFactoryProvider {
}
class _SVGElementFactoryProvider {
- factory SVGElement.tag(String tag) =>
- _document._createElementNS("http://www.w3.org/2000/svg", tag);
+ factory SVGElement.tag(String tag) {
+ final Element temp =
+ _document._createElementNS("http://www.w3.org/2000/svg", tag);
+ return temp;
+ }
factory SVGElement.svg(String svg) {
Element parentTag;
« no previous file with comments | « client/html/release/html.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698