| Index: Source/modules/indexeddb/IDBFactory.cpp
|
| diff --git a/Source/modules/indexeddb/IDBFactory.cpp b/Source/modules/indexeddb/IDBFactory.cpp
|
| index 71d1a32c6fd7f7a1bb1e7686baec41e55c85f022..f43d648dff9da0be1bc34686948274d426084933 100644
|
| --- a/Source/modules/indexeddb/IDBFactory.cpp
|
| +++ b/Source/modules/indexeddb/IDBFactory.cpp
|
| @@ -165,9 +165,8 @@ PassRefPtr<IDBOpenDBRequest> IDBFactory::deleteDatabase(ExecutionContext* contex
|
|
|
| short IDBFactory::cmp(ExecutionContext* context, const ScriptValue& firstValue, const ScriptValue& secondValue, ExceptionState& exceptionState)
|
| {
|
| - DOMRequestState requestState(toIsolate(context));
|
| - RefPtr<IDBKey> first = scriptValueToIDBKey(&requestState, firstValue);
|
| - RefPtr<IDBKey> second = scriptValueToIDBKey(&requestState, secondValue);
|
| + RefPtr<IDBKey> first = scriptValueToIDBKey(toIsolate(context), firstValue);
|
| + RefPtr<IDBKey> second = scriptValueToIDBKey(toIsolate(context), secondValue);
|
|
|
| ASSERT(first);
|
| ASSERT(second);
|
|
|