| Index: content/child/indexed_db/webidbdatabase_impl.cc
|
| diff --git a/content/child/indexed_db/webidbdatabase_impl.cc b/content/child/indexed_db/webidbdatabase_impl.cc
|
| index 81ce98a5822f672910b6cde077aae557c6f3923f..0d3d9893a473049cea1d5e3d76afa0e0e2e92913 100644
|
| --- a/content/child/indexed_db/webidbdatabase_impl.cc
|
| +++ b/content/child/indexed_db/webidbdatabase_impl.cc
|
| @@ -122,15 +122,13 @@ void WebIDBDatabaseImpl::getAll(long long transaction_id,
|
| long long max_count,
|
| bool key_only,
|
| WebIDBCallbacks* callbacks) {
|
| - // TODO(cmumford): Remove DCHECK's for index_id/key_only once IDBIndex.getAll
|
| - // is implemented.
|
| - static const int64 kInvalidId = -1;
|
| - DCHECK_EQ(kInvalidId, index_id);
|
| + // TODO(cmumford): Remove DCHECK for key_only once IDBIndex.getAllKeys is
|
| + // implemented.
|
| DCHECK(!key_only);
|
| IndexedDBDispatcher* dispatcher =
|
| IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_.get());
|
| dispatcher->RequestIDBDatabaseGetAll(
|
| - ipc_database_id_, transaction_id, object_store_id,
|
| + ipc_database_id_, transaction_id, object_store_id, index_id,
|
| IndexedDBKeyRangeBuilder::Build(key_range), max_count, callbacks);
|
| }
|
|
|
|
|