Index: lib/html/dartium/html_dartium.dart |
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart |
index d1ba9f7a5e95c3e4eeafb32aa599acdbbed132b8..24987e32aeaf27ad8570c2e1b1dfcf8d35a98c74 100644 |
--- a/lib/html/dartium/html_dartium.dart |
+++ b/lib/html/dartium/html_dartium.dart |
@@ -122,7 +122,7 @@ class _AbstractWorkerEventsImpl extends _EventsImpl implements AbstractWorkerEve |
/// @domName HTMLAnchorElement |
abstract class AnchorElement implements Element { |
- factory AnchorElement([String href]) { |
+ factory AnchorElement({String href}) { |
if (!?href) { |
return _Elements.createAnchorElement(); |
} |
@@ -7894,7 +7894,7 @@ class _CSSValueListImpl extends _CSSValueImpl implements List<CSSValue> { |
/// @domName HTMLCanvasElement |
abstract class CanvasElement implements Element { |
- factory CanvasElement([int width, int height]) { |
+ factory CanvasElement({int width, int height}) { |
if (!?width) { |
return _Elements.createCanvasElement(); |
} |
@@ -18381,7 +18381,7 @@ class _ImageDataImpl extends NativeFieldWrapperClass1 implements ImageData { |
/// @domName HTMLImageElement |
abstract class ImageElement implements Element { |
- factory ImageElement([String src, int width, int height]) { |
+ factory ImageElement({String src, int width, int height}) { |
if (!?src) { |
return _Elements.createImageElement(); |
} |
@@ -18535,7 +18535,7 @@ class _ImageElementImpl extends _ElementImpl_Merged implements ImageElement { |
/// @domName HTMLInputElement |
abstract class InputElement implements Element { |
- factory InputElement([String type]) { |
+ factory InputElement({String type}) { |
if (!?type) { |
return _Elements.createInputElement(); |
} |