diff options
Diffstat (limited to 'chrome/renderer/renderer_webidbtransaction_impl.cc')
-rw-r--r-- | chrome/renderer/renderer_webidbtransaction_impl.cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/chrome/renderer/renderer_webidbtransaction_impl.cc b/chrome/renderer/renderer_webidbtransaction_impl.cc index 8faf9a1..230237f 100644 --- a/chrome/renderer/renderer_webidbtransaction_impl.cc +++ b/chrome/renderer/renderer_webidbtransaction_impl.cc @@ -5,8 +5,9 @@ #include "chrome/renderer/renderer_webidbtransaction_impl.h" #include "chrome/common/render_messages.h" -#include "chrome/renderer/render_thread.h" #include "chrome/renderer/indexed_db_dispatcher.h" +#include "chrome/renderer/render_thread.h" +#include "chrome/renderer/renderer_webidbobjectstore_impl.h" #include "third_party/WebKit/WebKit/chromium/public/WebIDBObjectStore.h" #include "third_party/WebKit/WebKit/chromium/public/WebIDBTransactionCallbacks.h" #include "third_party/WebKit/WebKit/chromium/public/WebString.h" @@ -35,9 +36,11 @@ int RendererWebIDBTransactionImpl::mode() const WebIDBObjectStore* RendererWebIDBTransactionImpl::objectStore( const WebString& name) { - // TODO: implement - DCHECK(false); - return 0; + int object_store_id; + RenderThread::current()->Send( + new ViewHostMsg_IDBTransactionObjectStore( + idb_transaction_id_, name, &object_store_id)); + return new RendererWebIDBObjectStoreImpl(object_store_id); } void RendererWebIDBTransactionImpl::abort() |