| Index: third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp
|
| index 569ce38aaf41a0e4fc9a1aba7d7e53d4eb880cb7..17af6d039dcd4d4d6263e848a3c02fc7c324324d 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp
|
| @@ -252,8 +252,10 @@ IDBRequest* IDBObjectStore::put(ScriptState* scriptState, WebIDBPutMode putMode,
|
| return nullptr;
|
| }
|
|
|
| + v8::Isolate* isolate = scriptState->isolate();
|
| + DCHECK(isolate->InContext());
|
| Vector<WebBlobInfo> blobInfo;
|
| - RefPtr<SerializedScriptValue> serializedValue = SerializedScriptValueFactory::instance().create(scriptState->isolate(), value, &blobInfo, exceptionState);
|
| + RefPtr<SerializedScriptValue> serializedValue = SerializedScriptValueFactory::instance().create(isolate, value.v8Value(), nullptr, &blobInfo, exceptionState);
|
| if (exceptionState.hadException())
|
| return nullptr;
|
|
|
|
|