| Index: Source/modules/indexeddb/IDBKeyRange.h
|
| diff --git a/Source/modules/indexeddb/IDBKeyRange.h b/Source/modules/indexeddb/IDBKeyRange.h
|
| index 287d437282210393553b66f2d3e16bb60e107f78..e102664cb6eefb74be81096f296bb1c86c350c5e 100644
|
| --- a/Source/modules/indexeddb/IDBKeyRange.h
|
| +++ b/Source/modules/indexeddb/IDBKeyRange.h
|
| @@ -34,7 +34,7 @@
|
|
|
| namespace WebCore {
|
|
|
| -typedef int ExceptionCode;
|
| +class ExceptionState;
|
|
|
| class IDBKeyRange : public ScriptWrappable, public RefCounted<IDBKeyRange> {
|
| public:
|
| @@ -63,12 +63,12 @@ public:
|
| bool lowerOpen() const { return m_lowerType == LowerBoundOpen; }
|
| bool upperOpen() const { return m_upperType == UpperBoundOpen; }
|
|
|
| - static PassRefPtr<IDBKeyRange> only(ScriptExecutionContext*, const ScriptValue& key, ExceptionCode&);
|
| - static PassRefPtr<IDBKeyRange> lowerBound(ScriptExecutionContext*, const ScriptValue& bound, bool open, ExceptionCode&);
|
| - static PassRefPtr<IDBKeyRange> upperBound(ScriptExecutionContext*, const ScriptValue& bound, bool open, ExceptionCode&);
|
| - static PassRefPtr<IDBKeyRange> bound(ScriptExecutionContext*, const ScriptValue& lower, const ScriptValue& upper, bool lowerOpen, bool upperOpen, ExceptionCode&);
|
| + static PassRefPtr<IDBKeyRange> only(ScriptExecutionContext*, const ScriptValue& key, ExceptionState&);
|
| + static PassRefPtr<IDBKeyRange> lowerBound(ScriptExecutionContext*, const ScriptValue& bound, bool open, ExceptionState&);
|
| + static PassRefPtr<IDBKeyRange> upperBound(ScriptExecutionContext*, const ScriptValue& bound, bool open, ExceptionState&);
|
| + static PassRefPtr<IDBKeyRange> bound(ScriptExecutionContext*, const ScriptValue& lower, const ScriptValue& upper, bool lowerOpen, bool upperOpen, ExceptionState&);
|
|
|
| - static PassRefPtr<IDBKeyRange> only(PassRefPtr<IDBKey> value, ExceptionCode&);
|
| + static PassRefPtr<IDBKeyRange> only(PassRefPtr<IDBKey> value, ExceptionState&);
|
|
|
| bool isOnlyKey() const;
|
|
|
|
|