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

Unified Diff: client/dom/generated/src/wrapping/_DirectoryReaderWrappingImplementation.dart

Issue 9539003: Safely wrap window.top in frog dom. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and merge Created 8 years, 10 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:
View side-by-side diff with in-line comments
Download patch
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"; }
}

Powered by Google App Engine
This is Rietveld 408576698