diff options
Diffstat (limited to 'Source/WebKit/chromium/src/WebIDBTransactionImpl.cpp')
-rw-r--r-- | Source/WebKit/chromium/src/WebIDBTransactionImpl.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/WebKit/chromium/src/WebIDBTransactionImpl.cpp b/Source/WebKit/chromium/src/WebIDBTransactionImpl.cpp index 5cbbee663..6616d671f 100644 --- a/Source/WebKit/chromium/src/WebIDBTransactionImpl.cpp +++ b/Source/WebKit/chromium/src/WebIDBTransactionImpl.cpp @@ -55,6 +55,14 @@ WebIDBObjectStore* WebIDBTransactionImpl::objectStore(const WebString& name, Exc return new WebIDBObjectStoreImpl(objectStore); } +WebIDBObjectStore* WebIDBTransactionImpl::objectStore(long long indexId, ExceptionCode& ec) +{ + RefPtr<IDBObjectStoreBackendInterface> objectStore = m_backend->objectStore(indexId, ec); + if (!objectStore) + return 0; + return new WebIDBObjectStoreImpl(objectStore); +} + void WebIDBTransactionImpl::commit() { m_backend->commit(); |