Index: content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
index d534692136e89be5047fd0ffe4e8ec5ce189fdfe..45b0d6b0fdc5afe397a2142a3365bda061feb581 100644 |
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
@@ -711,9 +711,10 @@ void IndexedDBDispatcherHost::ObjectStoreDispatcherHost::OnPut( |
scoped_ptr<WebIDBCallbacks> callbacks( |
new IndexedDBCallbacks<WebIDBKey>(parent_, params.thread_id, |
params.response_id)); |
- // TODO(alecflett): switch to putWithIndexKeys when available. |
- idb_object_store->put(params.serialized_value, params.key, params.put_mode, |
- callbacks.release(), *idb_transaction, *ec); |
+ idb_object_store->putWithIndexKeys(params.serialized_value, params.key, |
+ params.put_mode, callbacks.release(), |
+ *idb_transaction, params.index_names, |
+ params.index_keys, *ec); |
if (*ec) |
return; |
int64 size = UTF16ToUTF8(params.serialized_value.data()).size(); |