summaryrefslogtreecommitdiffstats
path: root/WebCore/storage/IDBDatabase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/storage/IDBDatabase.cpp')
-rw-r--r--WebCore/storage/IDBDatabase.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/storage/IDBDatabase.cpp b/WebCore/storage/IDBDatabase.cpp
index 81950d6..0ea7ac2 100644
--- a/WebCore/storage/IDBDatabase.cpp
+++ b/WebCore/storage/IDBDatabase.cpp
@@ -55,11 +55,12 @@ PassRefPtr<IDBRequest> IDBDatabase::createObjectStore(ScriptExecutionContext* co
return request;
}
+// FIXME: remove this method.
PassRefPtr<IDBObjectStore> IDBDatabase::objectStore(const String& name, unsigned short mode)
{
RefPtr<IDBObjectStoreBackendInterface> objectStore = m_backend->objectStore(name, mode);
ASSERT(objectStore); // FIXME: If this is null, we should raise a NOT_FOUND_ERR.
- return IDBObjectStore::create(objectStore.release());
+ return IDBObjectStore::create(objectStore.release(), 0);
}
PassRefPtr<IDBRequest> IDBDatabase::removeObjectStore(ScriptExecutionContext* context, const String& name)