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

Unified Diff: client/dom/generated/src/wrapping/_FileEntryWrappingImplementation.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/_FileEntryWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_FileEntryWrappingImplementation.dart b/client/dom/generated/src/wrapping/_FileEntryWrappingImplementation.dart
index 4ca882f844fece3e989cc6917c55039807488874..fef7308779a63519ea7fa7c368f245e96e0e9a9a 100644
--- a/client/dom/generated/src/wrapping/_FileEntryWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_FileEntryWrappingImplementation.dart
@@ -12,28 +12,16 @@ class _FileEntryWrappingImplementation extends _EntryWrappingImplementation impl
}
void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCallback = null]) {
- if (errorCallback === null) {
- _createWriter(this, successCallback);
- return;
- } else {
- _createWriter_2(this, successCallback, errorCallback);
- return;
- }
+ _createWriter(this, successCallback, errorCallback);
+ return;
}
- static void _createWriter(receiver, successCallback) native;
- static void _createWriter_2(receiver, successCallback, errorCallback) native;
+ static void _createWriter(receiver, successCallback, errorCallback) native;
void file(FileCallback successCallback, [ErrorCallback errorCallback = null]) {
- if (errorCallback === null) {
- _file(this, successCallback);
- return;
- } else {
- _file_2(this, successCallback, errorCallback);
- return;
- }
+ _file(this, successCallback, errorCallback);
+ return;
}
- static void _file(receiver, successCallback) native;
- static void _file_2(receiver, successCallback, errorCallback) native;
+ static void _file(receiver, successCallback, errorCallback) native;
String get typeName() { return "FileEntry"; }
}

Powered by Google App Engine
This is Rietveld 408576698