Index: Source/modules/indexeddb/IDBKeyRange.h |
diff --git a/Source/modules/indexeddb/IDBKeyRange.h b/Source/modules/indexeddb/IDBKeyRange.h |
index e102664cb6eefb74be81096f296bb1c86c350c5e..fe3f66970f2f187279eebaaf204d0395e7c18e32 100644 |
--- a/Source/modules/indexeddb/IDBKeyRange.h |
+++ b/Source/modules/indexeddb/IDBKeyRange.h |
@@ -52,6 +52,10 @@ public: |
return adoptRef(new IDBKeyRange(lower, upper, lowerType, upperType)); |
} |
static PassRefPtr<IDBKeyRange> create(PassRefPtr<IDBKey> prpKey); |
+ |
+ // Null if the script value is null or undefined, the range if it is one, otherwise tries to convert to a key and throws if it fails. |
+ static PassRefPtr<IDBKeyRange> fromScriptValue(ScriptExecutionContext*, const ScriptValue&, ExceptionState&); |
+ |
~IDBKeyRange() { } |
// Implement the IDBKeyRange IDL |