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

Unified Diff: lib/html/src/dart2js_IDBKeyRangeFactoryProvider.dart

Issue 10915245: Removing interfaces from dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Further fixes to dartium. Created 8 years, 3 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: lib/html/src/dart2js_IDBKeyRangeFactoryProvider.dart
diff --git a/lib/html/src/dart2js_IDBKeyRangeFactoryProvider.dart b/lib/html/src/dart2js_IDBKeyRangeFactoryProvider.dart
index 2466e42cf11a7d54def32185199fbb6b03c773cf..61b271fa605e51f1fa960b5f45f136e03c3fde43 100644
--- a/lib/html/src/dart2js_IDBKeyRangeFactoryProvider.dart
+++ b/lib/html/src/dart2js_IDBKeyRangeFactoryProvider.dart
@@ -4,17 +4,19 @@
class _IDBKeyRangeFactoryProvider {
- factory IDBKeyRange.only(/*IDBKey*/ value) =>
+ static IDBKeyRange createIDBKeyRange_only(/*IDBKey*/ value) =>
_only(_class(), _translateKey(value));
- factory IDBKeyRange.lowerBound(/*IDBKey*/ bound, [bool open = false]) =>
+ static IDBKeyRange createIDBKeyRange_lowerBound(
+ /*IDBKey*/ bound, [bool open = false]) =>
_lowerBound(_class(), _translateKey(bound), open);
- factory IDBKeyRange.upperBound(/*IDBKey*/ bound, [bool open = false]) =>
+ static IDBKeyRange createIDBKeyRange_upperBound(
+ /*IDBKey*/ bound, [bool open = false]) =>
_upperBound(_class(), _translateKey(bound), open);
- factory IDBKeyRange.bound(/*IDBKey*/ lower, /*IDBKey*/ upper,
- [bool lowerOpen = false, bool upperOpen = false]) =>
+ static IDBKeyRange createIDBKeyRange_bound(/*IDBKey*/ lower, /*IDBKey*/ upper,
+ [bool lowerOpen = false, bool upperOpen = false]) =>
_bound(_class(), _translateKey(lower), _translateKey(upper),
lowerOpen, upperOpen);

Powered by Google App Engine
This is Rietveld 408576698