| 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..8f59383c2ef2b8fe85af1d71968b2f950099b14d 100644
|
| --- a/lib/html/src/shared_FactoryProviders.dart
|
| +++ b/lib/html/src/shared_FactoryProviders.dart
|
| @@ -91,7 +91,7 @@ class _SVGElementFactoryProvider {
|
| parentTag.innerHTML = svg;
|
| if (parentTag.elements.length == 1) return parentTag.nodes.removeLast();
|
|
|
| - throw new IllegalArgumentException(
|
| + throw new ArgumentError(
|
| 'SVG had ${parentTag.elements.length} '
|
| 'top-level elements but 1 expected');
|
| }
|
|
|