Index: client/dom/generated/src/wrapping/_NavigatorWrappingImplementation.dart |
diff --git a/client/dom/generated/src/wrapping/_NavigatorWrappingImplementation.dart b/client/dom/generated/src/wrapping/_NavigatorWrappingImplementation.dart |
index 11732ef0bf709154257dd7841572217633bc8785..ebf68f172a55ff5176fb5e0c07eeffb9f849f341 100644 |
--- a/client/dom/generated/src/wrapping/_NavigatorWrappingImplementation.dart |
+++ b/client/dom/generated/src/wrapping/_NavigatorWrappingImplementation.dart |
@@ -74,16 +74,10 @@ class _NavigatorWrappingImplementation extends DOMWrapperBase implements Navigat |
static void _registerProtocolHandler(receiver, scheme, url, title) native; |
void webkitGetUserMedia(String options, NavigatorUserMediaSuccessCallback successCallback, [NavigatorUserMediaErrorCallback errorCallback = null]) { |
- if (errorCallback === null) { |
- _webkitGetUserMedia(this, options, successCallback); |
- return; |
- } else { |
- _webkitGetUserMedia_2(this, options, successCallback, errorCallback); |
- return; |
- } |
+ _webkitGetUserMedia(this, options, successCallback, errorCallback); |
+ return; |
} |
- static void _webkitGetUserMedia(receiver, options, successCallback) native; |
- static void _webkitGetUserMedia_2(receiver, options, successCallback, errorCallback) native; |
+ static void _webkitGetUserMedia(receiver, options, successCallback, errorCallback) native; |
String get typeName() { return "Navigator"; } |
} |