| Index: Source/modules/indexeddb/IDBDatabase.cpp
|
| diff --git a/Source/modules/indexeddb/IDBDatabase.cpp b/Source/modules/indexeddb/IDBDatabase.cpp
|
| index fe066f247e433bd05eb9947164f3d29a4d7308f5..89304214bbb60745849b9e7111c576a7d9148c7d 100644
|
| --- a/Source/modules/indexeddb/IDBDatabase.cpp
|
| +++ b/Source/modules/indexeddb/IDBDatabase.cpp
|
| @@ -162,14 +162,13 @@ PassRefPtr<DOMStringList> IDBDatabase::objectStoreNames() const
|
| return objectStoreNames.release();
|
| }
|
|
|
| -ScriptValue IDBDatabase::version(ExecutionContext* context) const
|
| +ScriptValue IDBDatabase::version(NewScriptState* scriptState) const
|
| {
|
| - DOMRequestState requestState(toIsolate(context));
|
| int64_t intVersion = m_metadata.intVersion;
|
| if (intVersion == IDBDatabaseMetadata::NoIntVersion)
|
| - return idbAnyToScriptValue(&requestState, IDBAny::createString(m_metadata.version));
|
| + return idbAnyToScriptValue(scriptState, IDBAny::createString(m_metadata.version));
|
|
|
| - return idbAnyToScriptValue(&requestState, IDBAny::create(intVersion));
|
| + return idbAnyToScriptValue(scriptState, IDBAny::create(intVersion));
|
| }
|
|
|
| PassRefPtr<IDBObjectStore> IDBDatabase::createObjectStore(const String& name, const Dictionary& options, ExceptionState& exceptionState)
|
|
|