Index: Source/WebCore/storage/IDBObjectStoreBackendImpl.cpp |
=================================================================== |
--- Source/WebCore/storage/IDBObjectStoreBackendImpl.cpp (revision 87085) |
+++ Source/WebCore/storage/IDBObjectStoreBackendImpl.cpp (working copy) |
@@ -341,6 +341,8 @@ |
RefPtr<SerializedScriptValue> objectValue = SerializedScriptValue::createFromWire(value); |
RefPtr<IDBKey> indexKey = fetchKeyFromKeyPath(objectValue.get(), m_indexKeyPath); |
+ if (!indexKey) |
+ return true; |
if (!m_backingStore.putIndexDataForRecord(m_databaseId, m_objectStoreId, m_indexId, *indexKey, recordIdentifier)) |
return false; |