Index: sdk/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate |
diff --git a/sdk/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate b/sdk/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate |
index c40b2bb1a66323ce9deacee7402760ad7abaf128..27f8961e45cce7e51ad1e59769dd3bddf6fe848c 100644 |
--- a/sdk/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate |
+++ b/sdk/lib/html/templates/html/dart2js/impl_IDBDatabase.darttemplate |
@@ -42,7 +42,8 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
return db._transaction(stores, intMode); |
} |
- IDBTransaction _transaction(stores, mode) native 'transaction'; |
+ @JSName('transaction') |
+ IDBTransaction _transaction(stores, mode) native; |
static bool _hasNumericMode(txn) => |
JS('bool', 'typeof(#.mode) === "number"', txn); |