Index: client/dom/generated/src/wrapping/_DirectoryReaderWrappingImplementation.dart |
diff --git a/client/dom/generated/src/wrapping/_DirectoryReaderWrappingImplementation.dart b/client/dom/generated/src/wrapping/_DirectoryReaderWrappingImplementation.dart |
index a9d0e7be356dcf498d7e78a8f45d2b216320c507..13df2307c7720cdc3ad7d4c9a26dcfe4521f9cfc 100644 |
--- a/client/dom/generated/src/wrapping/_DirectoryReaderWrappingImplementation.dart |
+++ b/client/dom/generated/src/wrapping/_DirectoryReaderWrappingImplementation.dart |
@@ -12,16 +12,10 @@ class _DirectoryReaderWrappingImplementation extends DOMWrapperBase implements D |
} |
void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback = null]) { |
- if (errorCallback === null) { |
- _readEntries(this, successCallback); |
- return; |
- } else { |
- _readEntries_2(this, successCallback, errorCallback); |
- return; |
- } |
+ _readEntries(this, successCallback, errorCallback); |
+ return; |
} |
- static void _readEntries(receiver, successCallback) native; |
- static void _readEntries_2(receiver, successCallback, errorCallback) native; |
+ static void _readEntries(receiver, successCallback, errorCallback) native; |
String get typeName() { return "DirectoryReader"; } |
} |