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

Unified Diff: client/dom/generated/src/wrapping/_DatabaseSyncWrappingImplementation.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/_DatabaseSyncWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_DatabaseSyncWrappingImplementation.dart b/client/dom/generated/src/wrapping/_DatabaseSyncWrappingImplementation.dart
index 4f98e0dda3a2cbf8cf6bedf24bf4f30b55cd41aa..5ad491b7feb8430eb794f97bb6aa6814b505985b 100644
--- a/client/dom/generated/src/wrapping/_DatabaseSyncWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_DatabaseSyncWrappingImplementation.dart
@@ -18,16 +18,10 @@ class _DatabaseSyncWrappingImplementation extends DOMWrapperBase implements Data
static String _get_version(var _this) native;
void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCallback callback = null]) {
- if (callback === null) {
- _changeVersion(this, oldVersion, newVersion);
- return;
- } else {
- _changeVersion_2(this, oldVersion, newVersion, callback);
- return;
- }
+ _changeVersion(this, oldVersion, newVersion, callback);
+ return;
}
- static void _changeVersion(receiver, oldVersion, newVersion) native;
- static void _changeVersion_2(receiver, oldVersion, newVersion, callback) native;
+ static void _changeVersion(receiver, oldVersion, newVersion, callback) native;
void readTransaction(SQLTransactionSyncCallback callback) {
_readTransaction(this, callback);

Powered by Google App Engine
This is Rietveld 408576698