Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2173)

Unified Diff: Source/modules/indexeddb/IDBObjectStore.cpp

Issue 23903041: Make the Vector copy constructor for mismatched inline sizes explicit. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/indexeddb/IDBObjectStore.cpp
diff --git a/Source/modules/indexeddb/IDBObjectStore.cpp b/Source/modules/indexeddb/IDBObjectStore.cpp
index 8f6b4ae18ea3e23b55196b426ef67cfdd821d4a1..f712fffbf04c794978e1f71c96e50e44cedaa63c 100644
--- a/Source/modules/indexeddb/IDBObjectStore.cpp
+++ b/Source/modules/indexeddb/IDBObjectStore.cpp
@@ -340,11 +340,11 @@ private:
Vector<IDBObjectStore::IndexKeys, 1> indexKeysList;
jsbell 2013/09/11 15:44:02 Given that this just results in copies for passing
indexKeysList.append(indexKeys);
- m_databaseBackend->setIndexKeys(m_transactionId, m_objectStoreId, primaryKey, indexIds, indexKeysList);
+ m_databaseBackend->setIndexKeys(m_transactionId, m_objectStoreId, primaryKey, Vector<int64_t>(indexIds), Vector<IDBObjectStore::IndexKeys>(indexKeysList));
} else {
// Now that we are done indexing, tell the backend to go
// back to processing tasks of type NormalTask.
- m_databaseBackend->setIndexesReady(m_transactionId, m_objectStoreId, indexIds);
+ m_databaseBackend->setIndexesReady(m_transactionId, m_objectStoreId, Vector<int64_t>(indexIds));
m_databaseBackend.clear();
}

Powered by Google App Engine
This is Rietveld 408576698