Index: chrome/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
diff --git a/chrome/browser/in_process_webkit/indexed_db_dispatcher_host.cc b/chrome/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
index f6523a155bce8137ef70846cd558966b3824f3bf..352a3343ea51e814ea0472e8e82a846d028605b6 100644 |
--- a/chrome/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
+++ b/chrome/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
@@ -306,7 +306,7 @@ void IndexedDBDispatcherHost::DatabaseDispatcherHost::OnObjectStores( |
std::vector<string16> object_stores; |
object_stores.reserve(web_object_stores.length()); |
for (unsigned i = 0; i < web_object_stores.length(); ++i) |
- object_stores[i] = web_object_stores.item(i); |
+ object_stores.push_back(web_object_stores.item(i)); |
ViewHostMsg_IDBDatabaseObjectStores::WriteReplyParams(reply_msg, |
object_stores); |
parent_->Send(reply_msg); |