| Index: third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
|
| index fa8eda53199a792a5f9e622d354908b9379f16d1..6e235895630d0401c9e759b42cb8bf03c1d82632 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp
|
| @@ -170,6 +170,13 @@ DOMStringList* IDBDatabase::objectStoreNames() const
|
| return objectStoreNames;
|
| }
|
|
|
| +const String& IDBDatabase::getObjectStoreName(int64_t objectStoreId) const
|
| +{
|
| + const auto& it = m_metadata.objectStores.find(objectStoreId);
|
| + SECURITY_DCHECK(it != m_metadata.objectStores.end());
|
| + return it->value.name;
|
| +}
|
| +
|
| IDBObjectStore* IDBDatabase::createObjectStore(const String& name, const IDBKeyPath& keyPath, bool autoIncrement, ExceptionState& exceptionState)
|
| {
|
| IDB_TRACE("IDBDatabase::createObjectStore");
|
|
|