Index: content/renderer/renderer_webidbobjectstore_impl.cc |
diff --git a/content/renderer/renderer_webidbobjectstore_impl.cc b/content/renderer/renderer_webidbobjectstore_impl.cc |
index 734314bccd5d65a836d3f65cdbfda370a43c330f..c4b2b8eb1912335e8407ffb05e387a55caa499f1 100644 |
--- a/content/renderer/renderer_webidbobjectstore_impl.cc |
+++ b/content/renderer/renderer_webidbobjectstore_impl.cc |
@@ -171,3 +171,15 @@ void RendererWebIDBObjectStoreImpl::openCursor( |
idb_key_range, direction, callbacks, idb_object_store_id_, |
transaction, &ec); |
} |
+ |
+void RendererWebIDBObjectStoreImpl::count( |
+ const WebIDBKeyRange& idb_key_range, |
+ WebIDBCallbacks* callbacks, |
+ const WebIDBTransaction& transaction, |
+ WebExceptionCode& ec) { |
+ IndexedDBDispatcher* dispatcher = |
+ RenderThreadImpl::current()->indexed_db_dispatcher(); |
+ dispatcher->RequestIDBObjectStoreCount( |
+ idb_key_range, callbacks, idb_object_store_id_, |
+ transaction, &ec); |
+} |