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

Unified Diff: client/html/dartium/html_dartium.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:
Download patch
« no previous file with comments | « no previous file | client/html/frog/html_frog.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/dartium/html_dartium.dart
diff --git a/client/html/dartium/html_dartium.dart b/client/html/dartium/html_dartium.dart
index 4421359392bdce9bd5942dae568307309ebf82a7..5a1a980991f249bc61c13ecf98d29716ef5fd62f 100644
--- a/client/html/dartium/html_dartium.dart
+++ b/client/html/dartium/html_dartium.dart
@@ -36366,8 +36366,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 | « no previous file | client/html/frog/html_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698