| Index: Source/modules/indexeddb/IDBFactory.cpp
|
| diff --git a/Source/modules/indexeddb/IDBFactory.cpp b/Source/modules/indexeddb/IDBFactory.cpp
|
| index 63c21186f5a84a66a982976defa314d77cd0a193..d8a21f6d4a2b8ddf067d1eb6625f5d11680eac41 100644
|
| --- a/Source/modules/indexeddb/IDBFactory.cpp
|
| +++ b/Source/modules/indexeddb/IDBFactory.cpp
|
| @@ -155,8 +155,8 @@ IDBOpenDBRequest* IDBFactory::deleteDatabase(ScriptState* scriptState, const Str
|
|
|
| short IDBFactory::cmp(ScriptState* scriptState, const ScriptValue& firstValue, const ScriptValue& secondValue, ExceptionState& exceptionState)
|
| {
|
| - IDBKey* first = firstValue.to<IDBKey*>(exceptionState);
|
| - IDBKey* second = secondValue.to<IDBKey*>(exceptionState);
|
| + IDBKey* first = ScriptValue::to<IDBKey*>(scriptState->isolate(), firstValue, exceptionState);
|
| + IDBKey* second = ScriptValue::to<IDBKey*>(scriptState->isolate(), secondValue, exceptionState);
|
|
|
| ASSERT(first);
|
| ASSERT(second);
|
|
|