| Index: Source/modules/indexeddb/IDBFactoryBackendImpl.cpp
|
| diff --git a/Source/modules/indexeddb/IDBFactoryBackendImpl.cpp b/Source/modules/indexeddb/IDBFactoryBackendImpl.cpp
|
| index d706ad56412ec9b24995a7f7fe40d75ac5b7df6f..c034df5db777a7afc2cccb75296ed2e449c7bb75 100644
|
| --- a/Source/modules/indexeddb/IDBFactoryBackendImpl.cpp
|
| +++ b/Source/modules/indexeddb/IDBFactoryBackendImpl.cpp
|
| @@ -88,13 +88,7 @@ void IDBFactoryBackendImpl::getDatabaseNames(PassRefPtr<IDBCallbacks> callbacks,
|
| return;
|
| }
|
|
|
| - RefPtr<DOMStringList> databaseNames = DOMStringList::create();
|
| -
|
| - Vector<String> foundNames = backingStore->getDatabaseNames();
|
| - for (Vector<String>::const_iterator it = foundNames.begin(); it != foundNames.end(); ++it)
|
| - databaseNames->append(*it);
|
| -
|
| - callbacks->onSuccess(databaseNames.release());
|
| + callbacks->onSuccess(backingStore->getDatabaseNames());
|
| }
|
|
|
| void IDBFactoryBackendImpl::deleteDatabase(const String& name, PassRefPtr<IDBCallbacks> callbacks, PassRefPtr<SecurityOrigin> securityOrigin, ScriptExecutionContext*, const String& dataDirectory)
|
|
|