Truly independent web browser
LibWeb: Copy the index set of a new IDBObjectStore without cloning
Shannon Boothe0179645419d
diff --git a/Libraries/LibWeb/IndexedDB/IDBObjectStore.cpp b/Libraries/LibWeb/IndexedDB/IDBObjectStore.cppindex 1687ccf5d9e..3ce7b23b2c2 100644--- a/Libraries/LibWeb/IndexedDB/IDBObjectStore.cpp+++ b/Libraries/LibWeb/IndexedDB/IDBObjectStore.cpp@@ -26,7 +26,7 @@ IDBObjectStore::IDBObjectStore(GC::Ref<ObjectStore> store, GC::Ref<IDBTransactio, m_name(store->name()){// An object store handle has an index set, which is initialized to the set of indexes that reference the associated object store when the object store handle is created.- m_indexes = MUST(store->index_set().clone());+ m_indexes = store->index_set();}GC::Ref<IDBObjectStore> IDBObjectStore::create(GC::Ref<ObjectStore> store, GC::Ref<IDBTransaction> transaction)