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

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: Review feedback. 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
« no previous file with comments | « Source/core/scripts/templates/StylePropertyShorthand.cpp.tmpl ('k') | Source/wtf/Vector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBObjectStore.cpp
diff --git a/Source/modules/indexeddb/IDBObjectStore.cpp b/Source/modules/indexeddb/IDBObjectStore.cpp
index 8f6b4ae18ea3e23b55196b426ef67cfdd821d4a1..abbd8c0e919d86ab91a1c44ddb3d80b6c2c42959 100644
--- a/Source/modules/indexeddb/IDBObjectStore.cpp
+++ b/Source/modules/indexeddb/IDBObjectStore.cpp
@@ -326,7 +326,7 @@ private:
if (cursorAny->type() == IDBAny::IDBCursorWithValueType)
cursor = cursorAny->idbCursorWithValue();
- Vector<int64_t, 1> indexIds;
+ Vector<int64_t> indexIds;
indexIds.append(m_indexMetadata.id);
if (cursor) {
cursor->continueFunction(static_cast<IDBKey*>(0), ASSERT_NO_EXCEPTION);
@@ -337,7 +337,7 @@ private:
IDBObjectStore::IndexKeys indexKeys;
generateIndexKeysForValue(request->requestState(), m_indexMetadata, value, &indexKeys);
- Vector<IDBObjectStore::IndexKeys, 1> indexKeysList;
+ Vector<IDBObjectStore::IndexKeys> indexKeysList;
indexKeysList.append(indexKeys);
m_databaseBackend->setIndexKeys(m_transactionId, m_objectStoreId, primaryKey, indexIds, indexKeysList);
« no previous file with comments | « Source/core/scripts/templates/StylePropertyShorthand.cpp.tmpl ('k') | Source/wtf/Vector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698